Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof....

91
Drupal’s page loading performance in 2010 Wim Leers ~ http://wimleers.com/ Drupal.org, IRC, Twitter, LinkedIn: wimleers

Transcript of Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof....

Page 1: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Drupal’s page loading performance in 2010

Wim Leers ~ http://wimleers.com/

Drupal.org, IRC, Twitter, LinkedIn: wimleers

Page 2: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Bachelor thesis

• Promotor: Prof. dr. Wim Lamotte

• Co-promotor: dr. Peter Quax

• Mentors: Stijn Agten & Maarten Wijnants

“Improving Drupal’s page loading performance”

Page 3: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Goal

• Faster web sites

• Speed = satisfaction = more & happier visitors = more revenue

Source: http://www.slideshare.net/stubbornella/designing-fast-websites-presentation, Nicole Sullivan, Yahoo!

Page 4: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Goal

• Faster web sites

• Speed = satisfaction = more & happier visitors = more revenue

• Google: +0.5s → -20% searches

Source: http://www.slideshare.net/stubbornella/designing-fast-websites-presentation, Nicole Sullivan, Yahoo!

Page 5: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Terminology: page loading performance

CSS, JS, images …HTML

10%90%

Page 6: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Drupal’s page loading performance

• One of the most effective measures:

“Use a CDN”

Page 7: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Drupal’s page loading performance

• One of the most effective measures:

“Use a CDN”

• Drupal: not yet possible! Possible now! :)

Page 8: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Terminology: CDN

Page 9: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Key properties of a CDN

Page 10: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Key properties of a CDN

• Geographical spread

Page 11: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Key properties of a CDN

• Geographical spread

• Pull versus Push

Pull Push

transfer protocol

automaticallyFTP, SFTP, rsync,

WebDAV, Amazon S3 …

+ virtually no setup flexibility

– no flexibility setup

Page 12: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Key properties of a CDN

• Geographical spread

• Pull versus Push

Pull Push

transfer protocol

automaticallyFTP, SFTP, rsync,

WebDAV, Amazon S3 …

+ virtually no setup flexibility

– no flexibility setup

Page 13: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Key properties of a CDN

• Geographical spread

• Pull versus Push

• Lock-in Pull Push

transfer protocol

automaticallyFTP, SFTP, rsync,

WebDAV, Amazon S3 …

+ virtually no setup flexibility

– no flexibility setup

Page 14: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Profiling: Episodes

Page 15: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Profiling: Episodes

• Measures “episodes” during page loading

Page 16: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Profiling: Episodes

• Measures “episodes” during page loading

• Real measurements: JS in browser, for each visitor

• No simulation!

Page 17: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Episodes module

Page 18: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Episodes module

• Drupal module that offers Episodes integration

Page 19: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Episodes module

• Drupal module that offers Episodes integration

Page 20: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Episodes Server module

Page 21: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Episodes Server module

• Drupal module that visualizes the collected measurements

Page 22: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

Page 23: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

1. Configuration: simple XML file

Page 24: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

1. Configuration: simple XML file

2. Detection: instantaneous

Page 25: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

1. Configuration: simple XML file

2. Detection: instantaneous

3. Processing: store image more efficiently … — extensible!

Page 26: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

1. Configuration: simple XML file

2. Detection: instantaneous

3. Processing: store image more efficiently … — extensible!

4. Syncing: supports many protocols (FTP, Amazon S3 …) — extensible!

Page 27: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

1. Configuration: simple XML file

2. Detection: instantaneous

3. Processing: store image more efficiently … — extensible!

4. Syncing: supports many protocols (FTP, Amazon S3 …) — extensible!

5. Result: SQLite DB with CDN URLs

Page 28: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon: File Conveyor

1. Configuration: simple XML file

2. Detection: instantaneous

3. Processing: store image more efficiently … — extensible!

4. Syncing: supports many protocols (FTP, Amazon S3 …) — extensible!

5. Result: SQLite DB with CDN URLs

Project homepage: http://fileconveyor.org/ — code on GitHub

Page 29: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Demo

Page 30: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon’s capabilities: scenario 1

Company wants to switch from CDN provider X to Amazon S3.- CDN X: FTP- Amazon S3: custom protocol

Page 31: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon’s capabilities: scenario 1

Company wants to switch from CDN provider X to Amazon S3.- CDN X: FTP- Amazon S3: custom protocol

• Setup:

• CDN X → Amazon S3

• File Conveyor

Page 32: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon’s capabilities: scenario 1

Company wants to switch from CDN provider X to Amazon S3.- CDN X: FTP- Amazon S3: custom protocol

• Setup:

• CDN X → Amazon S3

• File Conveyor

• Alternative: write a lot of code

Page 33: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon’s capabilities: scenario 2

U.S. company expands to South-Korea

Page 34: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon’s capabilities: scenario 2

U.S. company expands to South-Korea

• Setup:

• North-American CDN

• Static file server in South-Korea

• File Conveyor + language-/subdomain-based logic to pick CDN/server

Page 35: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Daemon’s capabilities: scenario 2

U.S. company expands to South-Korea

• Setup:

• North-American CDN

• Static file server in South-Korea

• File Conveyor + language-/subdomain-based logic to pick CDN/server

• Alternative: global CDN or slower web site in South-Korea

Page 36: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration module

Page 37: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration module

• Drupal core patch for Drupal 6, committed to Drupal 7 & 6

Page 38: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration module

• Drupal core patch for Drupal 6, committed to Drupal 7 & 6

• Basic mode: Origin Pull CDN

Page 39: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration module

• Drupal core patch for Drupal 6, committed to Drupal 7 & 6

• Basic mode: Origin Pull CDN

• Advanced mode: any CDN (File Conveyor)

Page 40: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Test case

Page 41: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Test case

Page 42: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Test case

Page 43: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Bachelor thesis: conclusion

Page 44: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Bachelor thesis: conclusion

1. Speed of web site very important

Page 45: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Bachelor thesis: conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

Page 46: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Bachelor thesis: conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

Page 47: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Bachelor thesis: conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

4. File Conveyor → flexible CDN integration

Page 48: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

It doesn’t end here!

Page 49: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else exists …

Page 50: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else exists …

High-traffic Drupal sites:

Page 51: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else exists …

High-traffic Drupal sites:

Page 52: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else exists …

High-traffic Drupal sites:

“Pressflow is a distribution of Drupal with integrated performance, scalability, availability, and testing enhancements.”

Page 53: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else is coming …

Page 54: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else is coming …

1. CDN integration 2

Page 55: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else is coming …

1. CDN integration 2

2. ESI

Page 56: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

What else is coming …

1. CDN integration 2

2. ESI

3. Master thesis

Page 57: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

Page 58: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionality

Page 59: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionalityObsoleting modules: Parallel & Simple CDNNew mode: Media Mover

Page 60: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionality

2. Awesome UX

Obsoleting modules: Parallel & Simple CDNNew mode: Media Mover

Page 61: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionality

2. Awesome UX Bojhan Somers

Obsoleting modules: Parallel & Simple CDNNew mode: Media Mover

Page 62: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionality

2. Awesome UX

3. Excellent docs + high-quality screencasts

Bojhan Somers

Obsoleting modules: Parallel & Simple CDNNew mode: Media Mover

Page 63: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionality

2. Awesome UX

3. Excellent docs + high-quality screencasts

4. Streamlined CDN-specific UI

Bojhan Somers

Obsoleting modules: Parallel & Simple CDNNew mode: Media Mover

Page 64: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Goals

1. Significant expansion of functionality

2. Awesome UX

3. Excellent docs + high-quality screencasts

4. Streamlined CDN-specific UI

Bojhan Somers

Obsoleting modules: Parallel & Simple CDNNew mode: Media Mover

Page 65: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

CDN integration 2

Page 66: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

Source: http://www.trygve-lie.com/blog/entry/esi_explained_simple

Page 67: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

Source: http://www.trygve-lie.com/blog/entry/esi_explained_simple

Page 68: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

Based on: http://www.trygve-lie.com/blog/entry/esi_explained_simple

Page 69: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

Page 70: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

• ESI module: http://drupal.org/project/esi

Page 71: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

• ESI module: http://drupal.org/project/esi

• In development

Page 72: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

• ESI module: http://drupal.org/project/esi

• In development

• developers are actively participating

Page 73: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

• ESI module: http://drupal.org/project/esi

• In development

• developers are actively participating

• David Strauss (Four Kitchens)

Page 74: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

• ESI module: http://drupal.org/project/esi

• In development

• developers are actively participating

• David Strauss (Four Kitchens)

• Josh Koenig (Chapter Three)

Page 75: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

ESI

• ESI module: http://drupal.org/project/esi

• In development

• developers are actively participating

• David Strauss (Four Kitchens)

• Josh Koenig (Chapter Three)

• Note: not every CDN supports ESI!

Page 76: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• Promotor: Prof. dr. Jan van den Bussche

“Web Performance Optimization: Analytics”

Page 77: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

Page 78: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

Page 79: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

• e.g.:

Page 80: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

• e.g.:

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

Page 81: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

• e.g.:

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

• “http://d.o/project/esi has slowly loading CSS”

Page 82: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

• e.g.:

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

• “http://d.o/project/esi has slowly loading CSS”

• “http://d.o/project/cdn has slowly loading JS for visitors that use the browser Internet Explorer 6 or 7”

Page 83: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

• e.g.:

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

• “http://d.o/project/esi has slowly loading CSS”

• “http://d.o/project/cdn has slowly loading JS for visitors that use the browser Internet Explorer 6 or 7”

• Challenges: complex data mining, distributed computing, storage, performance

Page 84: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Master thesis

• An application that can automatically extract conclusions out of Episodes logs and visualize them.

• e.g.:

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

• “http://d.o/project/esi has slowly loading CSS”

• “http://d.o/project/cdn has slowly loading JS for visitors that use the browser Internet Explorer 6 or 7”

• Challenges: complex data mining, distributed computing, storage, performance

See http://wimleers.com/tags/master-thesis

Page 85: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Conclusion

Page 86: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

4. File Conveyor → flexible CDN integration

Page 87: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

4. File Conveyor → flexible CDN integration

5. CDN integration module 2 → more awesome!

Page 88: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

4. File Conveyor → flexible CDN integration

5. CDN integration module 2 → more awesome!

6. ESI → big potential

Page 89: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

4. File Conveyor → flexible CDN integration

5. CDN integration module 2 → more awesome!

6. ESI → big potential

7. Master thesis → more insight

Page 90: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Conclusion

1. Speed of web site very important

2. Episodes → monitor page loading performance

3. CDN integration module → best method to integrate Drupal with a CDN

4. File Conveyor → flexible CDN integration

5. CDN integration module 2 → more awesome!

6. ESI → big potential

7. Master thesis → more insight

This talk will be available at http://wimleers.com/talk/fosdem-2010

Page 91: Drupal’s page loading performance in 2010 · 2013-01-21 · Bachelor thesis •Promotor: Prof. dr. Wim Lamotte •Co-promotor: dr. Peter Quax •Mentors: Stijn Agten & Maarten Wijnants

Need Drupal page loading performance help?

Contact me: http://wimleers.com/contact

This talk will be available at http://wimleers.com/talk/fosdem-2010