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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jochen Lillich
November 08, 2013
Technology
1
130
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
91
Monorepo vs Multirepo
geewiz
0
76
Dealing with IRQ conflicts in 2018
geewiz
0
72
Planning for the Unpredictable
geewiz
0
220
Captaining a Container Ship
geewiz
0
90
Content - Culture - Community
geewiz
0
390
Drupal on Docker
geewiz
0
260
Getting the most out of Varnish (DrupalCamp Galway 2014)
geewiz
0
240
DevOps with Drupal
geewiz
0
340
Other Decks in Technology
See All in Technology
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
380
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
140
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
260
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
8
4.7k
私がよく使うMCPサーバー3選と社内で安全に活用する方法
kintotechdev
0
130
PostgreSQL 18のNOT ENFORCEDな制約とDEFERRABLEの関係
yahonda
0
130
FlutterでPiP再生を実装した話
s9a17
0
210
Phase09_自動化_仕組み化
overflowinc
0
1.9k
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
qa
0
350
ThetaOS - A Mythical Machine comes Alive
aslander
0
200
Bref でサービスを運用している話
sgash708
0
200
「活動」は激変する。「ベース」は変わらない ~ 4つの軸で捉える_AI時代ソフトウェア開発マネジメント
sentokun
0
110
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
330
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
240
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Balancing Empowerment & Direction
lara
5
990
The browser strikes back
jonoalderson
0
850
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Navigating Weather and Climate Data
rabernat
0
150
Making the Leap to Tech Lead
cromwellryan
135
9.8k
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]