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
Drupal Server Performance
Search
Eidolon Night
April 29, 2013
Programming
320
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Drupal Server Performance
How to quickly boost your Drupal performance using simple infrastructure tweaks.
Eidolon Night
April 29, 2013
More Decks by Eidolon Night
See All by Eidolon Night
STEAM: Professional presentation for coding
eidolonnight
0
180
DrupalCamp 2014: Drupal Business
eidolonnight
0
260
Online Church
eidolonnight
0
280
Webifying Local Communities
eidolonnight
0
330
How to Choose a Web Developer
eidolonnight
0
260
BarCamp 2010: Automatic Content
eidolonnight
0
280
Why Drupal Rocks
eidolonnight
0
320
Computer Science Capstone Project
eidolonnight
0
270
Other Decks in Programming
See All in Programming
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
SREの越境 / SRE Collaboration
y0hgi
2
310
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
R8 の設定見直しでアプリサイズ削減
andpad
0
220
カツオ、ご期待ください
suneo3476
0
190
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
180
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
It's Worth the Effort
3n
188
29k
Practical Orchestrator
shlominoach
192
12k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
First, design no harm
axbom
PRO
2
1.3k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
Designing for Timeless Needs
cassininazir
1
530
Google's AI Overviews - The New Search
badams
0
1.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Transcript
Drupal Server Performance with a focus on Drupal and other
database-intensive PHP applications
Who is this guy? irl: Nicholas Garofalo d.o: Eidolon Night
8 years of development experience CTO at WebOzy, Inc. in Batavia
[email protected]
A good host invest in a good host or it
will haunt you the entire project options: Pantheon Acquia DIY (VPS or dedicated) EVERYTHING else sucks (by our standards) • that includes: shared AND cloud
Managed Hosting use this if you: need someone to blame
have no time to maintain want tight integration and can sacrifice flexibility
Acquia the enterprise guys with a crappy sales department
Pantheon the new kids on the block
UN-Managed Hosting use this if you: kick ass have time,
but not much money need to run other stuff want a really custom environment
Beware xen vs vmware vs virtuozzo multi-server setups
Linode for the Do It Yourselfers
Deployment make it easy automate DeployButton.com github.com/WebOzy/auto-deployment
Linux minimal installs rule Adjust swappiness to keep things in
memory sysctl -w vm.swappiness=25 RTFM - man pages rock
max clients = available memory / average size of apache
process spare clients depends on traffic patterns keep alive
use the latest version or MariaDB innodb is now default
in D7 (use it if you’re not already) innodb_buffer_pool_size http:/ /drupal.org/project/dbtuner
max_execution_time memory_limit load the modules page with all your modules
and you’ll quickly discover if this is too low... or clear the cache and load a massive View
APC apc.stat just leave it enabled shared memory make it
big enough so as to not have fragmentation
Memcached high-performance, distributed memory object caching system let’s you quit
using the database (disk) for caching http:/ /drupal.org/project/memcache
Varnish config: https:/ /fourkitchens.atlassian.net/wiki/ display/TECH/Configure+Varnish+3+for+Drupal+7 module: http:/ /drupal.org/project/varnish (Pressflow needed
for Drupal 6) provides page and asset caching C-like syntax
makes sites friggan fast saves bandwidth added security costs nothing
None
settings.php $conf['reverse_proxy'] = TRUE; $conf['reverse_proxy_addresses'] = array('127.0.0.1'); // define cache
backends $conf['cache_backends'] = array('sites/all/modules/ memcache/memcache.inc', 'sites/all/modules/varnish/ varnish.cache.inc'); // memcache will be our default $conf['cache_default_class'] = 'MemCacheDrupal' $conf['memcache_key_prefix'] = 'livebatavia'; // Varnish can handle the page cache $conf['cache_class_cache_page'] = 'VarnishCache';
Scaling and High Availability take everything you learned here make
more load balance
QUESTIONS ?