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
130
1
Share
Supercharging Drupal
My talk at DrupalCamp Cork about building a high-performance system stack.
Jochen Lillich
November 08, 2013
More Decks by Jochen Lillich
See All by Jochen Lillich
Under Pressure
geewiz
0
95
Monorepo vs Multirepo
geewiz
0
77
Dealing with IRQ conflicts in 2018
geewiz
0
79
Planning for the Unpredictable
geewiz
0
220
Captaining a Container Ship
geewiz
0
93
Content - Culture - Community
geewiz
0
400
Drupal on Docker
geewiz
0
270
Getting the most out of Varnish (DrupalCamp Galway 2014)
geewiz
0
240
DevOps with Drupal
geewiz
0
350
Other Decks in Technology
See All in Technology
AIと乗り切った1,500ページ超のヘルプサイト基盤刷新とさらにその先の話
mugi_uno
1
270
ボトムアップの改善の火を灯し続けろ!〜支援現場で学んだ、消えないための3つの打ち手〜 / 20260509 Kazuki Mori
shift_evolve
PRO
2
330
拝啓、あの夏の僕へ〜あなたも知っているApp Runnerの世界〜
news_it_enj
0
170
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
2
660
EMから幅を広げるために最近挑戦していること / Recent challenges I'm undertaking to expand my horizons beyond EM
hiro_torii
1
180
Modernizing Your HCL Connections Experience: Visual Report to chain, Profile Enhancements, and AI Integration
wannesrams
0
250
AI時代に越境し、 組織を変えるQAスキルの正体 / QA Skills for Transforming an Organization
mii3king
3
2.7k
Fabric MCPの紹介と使い分け
ryomaru0825
1
110
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
530
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
140
AgentCore Managed Harness を使ってみよう
yakumo
2
300
UIライブラリに依存しすぎないReact Native設計を目指して
grandbig
0
180
Featured
See All Featured
Everyday Curiosity
cassininazir
0
200
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
500
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
The Mindset for Success: Future Career Progression
greggifford
PRO
0
320
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
340
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
130
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
Ruling the World: When Life Gets Gamed
codingconduct
0
220
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Making Projects Easy
brettharned
120
6.6k
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]