59
Web Performance Optimization: Analytics Wim Leers Promotor: Prof. dr. Jan Van den Bussche

Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Web Performance Optimization: Analytics

Wim Leers

Promotor: Prof. dr. Jan Van den Bussche

Page 2: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Web Performance Optimization

• Speed matters!

Source: http://www.useit.com/alertbox/response-times.html, Jakob Nielsen, June 21, 2010

Page 3: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Web Performance Optimization

• Speed matters!

• 0.1 s → direct manipulation

Source: http://www.useit.com/alertbox/response-times.html, Jakob Nielsen, June 21, 2010

Page 4: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Web Performance Optimization

• Speed matters!

• 0.1 s → direct manipulation

• 1 s → good navigation

Source: http://www.useit.com/alertbox/response-times.html, Jakob Nielsen, June 21, 2010

Page 5: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Web Performance Optimization

• Speed matters!

• 0.1 s → direct manipulation

• 1 s → good navigation

• 10 s → attention kept

Source: http://www.useit.com/alertbox/response-times.html, Jakob Nielsen, June 21, 2010

Page 6: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Web Performance Optimization

• Speed matters!

• 0.1 s → direct manipulation

• 1 s → good navigation

• 10 s → attention kept

• >10 s → bye bye!

Source: http://www.useit.com/alertbox/response-times.html, Jakob Nielsen, June 21, 2010

Page 7: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

How to Measure? Episodes

Page 8: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

How to Measure? Episodes

• Measures “episodes” during page loading

Page 9: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

How to Measure? Episodes

• Measures “episodes” during page loading

• Real measurements: JS in browser, for each visitor

Page 10: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

How to Measure? Episodes

• Measures “episodes” during page loading

• Real measurements: JS in browser, for each visitor

• Result: Episodes log file

Page 11: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

Page 12: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

• Automatically pinpoint causes of slow page loads

Page 13: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

• Automatically pinpoint causes of slow page loads

• e.g.:

Page 14: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

• Automatically pinpoint causes of slow page loads

• e.g.:

• “http://uhasselt.be/ is slow in Belgium, for users of the ISP Telenet”

Page 15: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

• Automatically pinpoint causes of slow page loads

• e.g.:

• “http://uhasselt.be/ is slow in Belgium, for users of the ISP Telenet”

• “http://uhasselt.be/studenten/dossier has slowly loading CSS”

Page 16: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

• Automatically pinpoint causes of slow page loads

• e.g.:

• “http://uhasselt.be/ is slow in Belgium, for users of the ISP Telenet”

• “http://uhasselt.be/studenten/dossier has slowly loading CSS”

• “http://uhasselt.be/bib has slowly loading JS in Firefox 3”

Page 17: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Analytics

• Automatically pinpoint causes of slow page loads

• e.g.:

• “http://uhasselt.be/ is slow in Belgium, for users of the ISP Telenet”

• “http://uhasselt.be/studenten/dossier has slowly loading CSS”

• “http://uhasselt.be/bib has slowly loading JS in Firefox 3”

• …

Page 18: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Literature Study Subjects

Page 19: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Literature Study Subjects

• Data Stream Mining

Page 20: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Literature Study Subjects

• Data Stream Mining

• Anomaly Detection

Page 21: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Literature Study Subjects

• Data Stream Mining

• Anomaly Detection } Data Mining: finding patterns in data

Page 22: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Literature Study Subjects

• Data Stream Mining

• Anomaly Detection

• OLAP: Data Cube

} Data Mining: finding patterns in data

Page 23: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Literature Study Subjects

• Data Stream Mining

• Anomaly Detection

• OLAP: Data Cube

} Data Mining: finding patterns in data

} OLAP: querying multidimensional data

Page 24: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

Page 25: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

Page 26: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

Page 27: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

• Window model

Page 28: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

• Window model

- Landmark: from beginning until now

Page 29: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

• Window model

- Landmark: from beginning until now

- Tilted-time: per-hour window, 24 “hour windows” → “day window”, etc.

Page 30: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

• Window model

- Landmark: from beginning until now

- Tilted-time: per-hour window, 24 “hour windows” → “day window”, etc.

• Algorithms studied

Page 31: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

• Window model

- Landmark: from beginning until now

- Tilted-time: per-hour window, 24 “hour windows” → “day window”, etc.

• Algorithms studied

• Frequent Item Mining: 7

Page 32: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining

• Constraints

• Possibly infinite data stream ⇒ approximation

• Window model

- Landmark: from beginning until now

- Tilted-time: per-hour window, 24 “hour windows” → “day window”, etc.

• Algorithms studied

• Frequent Item Mining: 7

• Frequent Pattern Mining: 2

Page 33: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining: FP-Stream

Source: Mining Frequent Patterns in Data Streams at Multiple Time Granularities, Giannella; Han et al., 2003

Page 34: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining: FP-Stream

Source: Mining Frequent Patterns in Data Streams at Multiple Time Granularities, Giannella; Han et al., 2003

Page 35: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining: FP-Stream

Source: Mining Frequent Patterns in Data Streams at Multiple Time Granularities, Giannella; Han et al., 2003

Page 36: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Data Stream Mining: FP-Stream

Source: Mining Frequent Patterns in Data Streams at Multiple Time Granularities, Giannella; Han et al., 2003

Page 37: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

Page 38: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

Page 39: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

• Point: e.g. rainfall in mm

Page 40: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

• Point: e.g. rainfall in mm

• Contextual: point + contextual attributes, e.g. rainfall in mm + lat/lon

Page 41: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

• Point: e.g. rainfall in mm

• Contextual: point + contextual attributes, e.g. rainfall in mm + lat/lon

• Contextual anomaly detection algorithms categories

Page 42: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

• Point: e.g. rainfall in mm

• Contextual: point + contextual attributes, e.g. rainfall in mm + lat/lon

• Contextual anomaly detection algorithms categories

• Reduction: 1) certain context, 2) point anomaly algorithm

Page 43: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

• Point: e.g. rainfall in mm

• Contextual: point + contextual attributes, e.g. rainfall in mm + lat/lon

• Contextual anomaly detection algorithms categories

• Reduction: 1) certain context, 2) point anomaly algorithm

• Model: 1) learn through training, 2) compare: observed vs. expected

Page 44: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection

• Types

• Point: e.g. rainfall in mm

• Contextual: point + contextual attributes, e.g. rainfall in mm + lat/lon

• Contextual anomaly detection algorithms categories

• Reduction: 1) certain context, 2) point anomaly algorithm

• Model: 1) learn through training, 2) compare: observed vs. expected

• Algorithms studied: 2

Page 45: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection: Vilalta/Ma

Page 46: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection: Vilalta/Ma

• Based on frequent pattern mining

Page 47: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Anomaly Detection: Vilalta/Ma

• Based on frequent pattern mining

• Find all frequent itemsets that precede anomalies

Page 48: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube

Source: Introduction to Data Mining, Tan; Steinbach; Kumar, 2006

Page 49: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube

Source: Introduction to Data Mining, Tan; Steinbach; Kumar, 2006

Page 50: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube: Range-Sum Performance

Page 51: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube: Range-Sum Performance

• Very common type of query

Page 52: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube: Range-Sum Performance

• Very common type of query

• Algorithms studied: 3

Page 53: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube: Dynamic Data Cube

Source: Data Cubes in Dynamic Environments, Geffner; Riedewald; Agrawal, 1999

Page 54: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

OLAP: Data Cube: Dynamic Data Cube

Source: Data Cubes in Dynamic Environments, Geffner; Riedewald; Agrawal, 1999

Page 55: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Outlook

Page 56: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Outlook

• Further literature study, especially: data cubes over data streams

Page 57: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Outlook

• Further literature study, especially: data cubes over data streams

• Implementation

Page 58: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Outlook

• Further literature study, especially: data cubes over data streams

• Implementation

Page 59: Web Performance Optimization: Analytics › sites › wimleers.com › files › literature... · 2013-01-21 · Web Performance Optimization: Analytics Wim Leers Promotor: Prof

Questions?

Thanks for your time!