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
44
Monorepo vs Multirepo
geewiz
0
59
Dealing with IRQ conflicts in 2018
geewiz
0
47
Planning for the Unpredictable
geewiz
0
150
Captaining a Container Ship
geewiz
0
65
Content - Culture - Community
geewiz
0
340
Drupal on Docker
geewiz
0
190
Getting the most out of Varnish (DrupalCamp Galway 2014)
geewiz
0
210
DevOps with Drupal
geewiz
0
290
Other Decks in Technology
See All in Technology
非機能品質を作り込むための実践アーキテクチャ
knih
3
980
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
110
サーバレスアプリ開発者向けアップデートをキャッチアップしてきた #AWSreInvent #regrowth_fuk
drumnistnakano
0
190
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
180
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.2k
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
110
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
1
290
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
110
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
700
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
530
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
140
Featured
See All Featured
Being A Developer After 40
akosma
87
590k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Typedesign – Prime Four
hannesfritz
40
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
YesSQL, Process and Tooling at Scale
rocio
169
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
GitHub's CSS Performance
jonrohan
1030
460k
A designer walks into a library…
pauljervisheath
204
24k
The Cult of Friendly URLs
andyhume
78
6.1k
Into the Great Unknown - MozCon
thekraken
33
1.5k
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]