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
Supercharging Drupal
Search
Jochen Lillich
November 08, 2013
Technology
1
120
Supercharging Drupal
My talk at DrupalCamp Cork about building a high-performance system stack.
Jochen Lillich
November 08, 2013
Tweet
Share
More Decks by Jochen Lillich
See All by Jochen Lillich
Under Pressure
geewiz
0
61
Monorepo vs Multirepo
geewiz
0
64
Dealing with IRQ conflicts in 2018
geewiz
0
58
Planning for the Unpredictable
geewiz
0
190
Captaining a Container Ship
geewiz
0
79
Content - Culture - Community
geewiz
0
370
Drupal on Docker
geewiz
0
230
Getting the most out of Varnish (DrupalCamp Galway 2014)
geewiz
0
230
DevOps with Drupal
geewiz
0
320
Other Decks in Technology
See All in Technology
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
1
230
Product Management Conference -AI時代に進化するPdM-
kojima111
0
220
RAID6 を楔形文字で組んで現代人を怖がらせましょう(実装編)
mimifuwa
0
300
Preferred Networks (PFN) とLLM Post-Training チームの紹介 / 第4回 関東Kaggler会 スポンサーセッション
pfn
PRO
1
190
KiroでGameDay開催してみよう(準備編)
yuuuuuuu168
1
130
AIエージェント就活入門 - MCPが履歴書になる未来
eltociear
0
490
Goss: Faiss向けの新しい本番環境対応 Goバインディング #coefl_go_jp
bengo4com
0
1.4k
開発と脆弱性と脆弱性診断についての話
su3158
1
1.1k
TypeScript入門
recruitengineers
PRO
14
3.9k
マイクロモビリティシェアサービスを支える プラットフォームアーキテクチャ
grimoh
1
230
Webアクセシビリティ入門
recruitengineers
PRO
1
250
.NET開発者のためのAzureの概要
tomokusaba
0
230
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Balancing Empowerment & Direction
lara
2
590
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Writing Fast Ruby
sferik
628
62k
What's in a price? How to price your products and services
michaelherold
246
12k
Typedesign – Prime Four
hannesfritz
42
2.8k
Designing for Performance
lara
610
69k
Unsuck your backbone
ammeep
671
58k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
183
54k
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? !
[email protected]