Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Drupal Server Performance
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Eidolon Night
April 29, 2013
Programming
1
310
Drupal Server Performance
How to quickly boost your Drupal performance using simple infrastructure tweaks.
Eidolon Night
April 29, 2013
Tweet
Share
More Decks by Eidolon Night
See All by Eidolon Night
STEAM: Professional presentation for coding
eidolonnight
0
170
DrupalCamp 2014: Drupal Business
eidolonnight
0
260
Online Church
eidolonnight
0
280
Webifying Local Communities
eidolonnight
0
320
How to Choose a Web Developer
eidolonnight
0
260
BarCamp 2010: Automatic Content
eidolonnight
0
270
Why Drupal Rocks
eidolonnight
0
320
Computer Science Capstone Project
eidolonnight
0
260
Other Decks in Programming
See All in Programming
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
500
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
960
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
240
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
AtCoder Conference 2025
shindannin
0
1k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
630
Featured
See All Featured
Everyday Curiosity
cassininazir
0
130
The Mindset for Success: Future Career Progression
greggifford
PRO
0
230
WENDY [Excerpt]
tessaabrams
9
36k
Color Theory Basics | Prateek | Gurzu
gurzu
0
190
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Producing Creativity
orderedlist
PRO
348
40k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
We Have a Design System, Now What?
morganepeng
54
8k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
72
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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 ?