Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Supercharging Drupal
Jochen Lillich
PRO
November 08, 2013
Technology
1
91
Supercharging Drupal
My talk at DrupalCamp Cork about building a high-performance system stack.
Jochen Lillich
PRO
November 08, 2013
Tweet
Share
More Decks by Jochen Lillich
See All by Jochen Lillich
Under Pressure
geewiz
PRO
0
32
Monorepo vs Multirepo
geewiz
PRO
0
13
Dealing with IRQ conflicts in 2018
geewiz
PRO
0
36
Planning for the Unpredictable
geewiz
PRO
0
90
Captaining a Container Ship
geewiz
PRO
0
39
Content - Culture - Community
geewiz
PRO
0
150
Drupal on Docker
geewiz
PRO
0
130
Getting the most out of Varnish (DrupalCamp Galway 2014)
geewiz
PRO
0
160
DevOps with Drupal
geewiz
PRO
0
130
Other Decks in Technology
See All in Technology
JFrog 最新情報 - JFrog DevOps プラットフォームの今までとこれから / jfrog-update-for-devopskaigi-2022
tsuyo
0
140
Well-organized Transaction Script - リファクタリングの妥協的手法 -
qsona
4
380
複数のスクラムチームをサポートするエンジニアリングマネジメントの話
okeicalm
0
890
Build 2022で発表されたWindowsアプリ開発のあれこれ振り返ろう
hatsunea
1
340
1人目SETとして入社して2ヶ月の間におこなったこと
tarappo
3
390
UWBを使ってみた
norioikedo
0
340
RDRA + JavaによるレジャーSaaSプロダクトの要件定義と実装のシームレスな接続
jjebejj
PRO
2
480
通知がOFFだとToastは表示されな… されてる!?
napplecomputer
0
200
1人目QA奮闘記/QA Engineer's Struggle
mii3king
2
1k
Scrum Fest Osaka 2022 段階的スクラムマスターのススメ
orimomo
0
670
2022年度新卒技術研修「エンジニアマインド」講義
excitejp
PRO
0
320
会社訪問アプリ「Wantedly Visit」における推薦システム開発事例
hakubishin3
2
480
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
21
5.4k
Three Pipe Problems
jasonvnalue
89
8.7k
Code Reviewing Like a Champion
maltzj
506
37k
What's new in Ruby 2.0
geeforr
336
30k
Designing the Hi-DPI Web
ddemaree
272
32k
4 Signs Your Business is Dying
shpigford
169
20k
Rebuilding a faster, lazier Slack
samanthasiow
62
7.2k
Done Done
chrislema
174
14k
Navigating Team Friction
lara
175
11k
The Pragmatic Product Professional
lauravandoore
19
2.9k
The Power of CSS Pseudo Elements
geoffreycrofte
46
3.9k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
100
5.9k
Transcript
freistil.it Supercharging Drupal Jochen Lillich
Jochen Lillich @geewiz Sysadmin since 1993 Managing director of freistil
IT IT architect for freistilbox
Tuning strategies 10 Optimise capacity 20 Minimise cost 30 Measure
40 GOTO 10
None
“They stink?”
“They make you cry?”
Layers
Browser Apache File System Static files
Tuning Linux Fast disks File system cache File system layout
Tuning Apache MaxClients & Co. KeepAlive CPU with AES support
Browser Apache File System Drupal MySQL PHP
Tuning MySQL Disk drives InnoDB Buffers tmpdir
Optimise your f%#§ing SQL queries!
Tuning PHP Get many CPU cores Use an opcode cache
Browser Apache File System Opcode Cache MySQL PHP APC
Tuning APC 64-128 MB Check apc.php
Tuning Drupal Compression Aggregation Caches Choose modules wisely
Browser Apache Object Cache MySQL PHP memcached memcached
Configuration $conf['cache_default_class'] = 'MemCacheDrupal'; ! $conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
Browser Apache HTTP Cache Varnish
Drupal configuration
Cache headers HTTP/1.1 200 OK Date: Wed, 06 Nov 2013
17:30:00 GMT X-Drupal-Cache: MISS Expires: Sun, 19 Nov 1978 05:00:00 GMT Last-Modified: Wed, 06 Nov 2013 17:29:45 +0000 Cache-Control: public, max-age=3600 X-Generator: Drupal 7 (http://drupal.org) Vary: Cookie,Accept-Encoding Age: 14 X-Varnish-Cache: HIT X-Varnish-Cache-Hits: 2
Tuning Varnish Modules: Purge, Varnish Optimise VCL logic IsVarnishWorking.com
http://www.flickr.com/photos/seriousbri/4020277369
Browser Apache Search Engine MySQL PHP Solr
Tuning Solr Caching # of indexed/stored fields mergeFactor Sharding
Other approaches CDN Load balancing
Daily practice Management Updates Monitoring Metrics … Know-how
We’re hiring!
Thanks! Questions? ! jochen@freistil.it