Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
DrupalCamp Ghent 2012
Search
Bernard Grymonpon
May 25, 2012
650
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DrupalCamp Ghent 2012
Performance optimizations for large & small sites
Bernard Grymonpon
May 25, 2012
More Decks by Bernard Grymonpon
See All by Bernard Grymonpon
Techtalk: beveiligde verbindingen
wonko
0
480
MySQL techtalk
wonko
0
610
Metrics & Dashboards
wonko
0
460
Varnish
wonko
0
160
Vagrant en Sneakers
wonko
0
590
Techtalk: DNS & domeinen
wonko
1
330
Arrrrcamp 2012: Testing Chef
wonko
1
510
New Relic Techtalk
wonko
1
730
Basic Deployment techtalk
wonko
5
830
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Raft: Consensus for Rubyists
vanstee
143
7.8k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
740
Optimizing for Happiness
mojombo
378
71k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Accessibility Awareness
sabderemane
1
260
Typedesign – Prime Four
hannesfritz
42
3.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Between Models and Reality
mayunak
4
520
Git: the NoSQL Database
bkeepers
PRO
433
67k
Transcript
Performance optimizations for large & small sites Bernard Grymonpon -
[email protected]
Friday 25 May 2012
We host (drupal) sites 2 Friday 25 May 2012
Servers 3 CPU / RAM / Storage Friday 25 May
2012
Storage 4 HDD, SSD, SAN, ... Latency and cost Friday
25 May 2012
Software 5 Webserver Database server Helpers Friday 25 May 2012
Live demo 6 Next up: fail Friday 25 May 2012
Setup 7 Vagrant (virtualbox) - 256 MB RAM Debian Squeeze
Drupal 7 - 5000 nodes & terms (Opscode Chef) Friday 25 May 2012
LAMP Apache Database 8 Friday 25 May 2012
Opcode caching Script language Memory 9 Friday 25 May 2012
Drupal cache Default Memcache Boost 10 Friday 25 May 2012
Varnish Larger setups Caches everything 11 Friday 25 May 2012
Results Default: 5 / sec Xcache: 15 / sec (300%)
Drupal cache: 30 / sec (600%) Drupal- / Memcache + Xcache: 100 / sec (2000%) Boost: 430 / sec (8600%) Varnish: 1400 / sec (28000%) 12 Friday 25 May 2012
Find slow pages Profiling New Relic 13 Friday 25 May
2012
New Relic Find slow pages 14 Friday 25 May 2012
New Relic Find slow pages 15 Friday 25 May 2012
Fail Anonymous users Statistics Access Watchdog Expires 16 Friday 25
May 2012
Cloud Scaling hardware works only so far... 17 Friday 25
May 2012
Large sites 18 Performance optimizations are part of the development
Profiling during development Take care of your custom modules! Friday 25 May 2012
Small sites 19 Enable caching Use boost Friday 25 May
2012
Soon... Opcode caching PHP-FPM Examine caching Detect upgrades Varnish 20
Friday 25 May 2012
Feedback & follow-up: http://drupalcampgent.be/feedback Friday 25 May 2012