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
Run, Content, Run
Search
Markus Heurung
November 16, 2014
Technology
1
99
Run, Content, Run
The slides for my high performance Drupal talk at Drupalcamp.berlin
Markus Heurung
November 16, 2014
Tweet
Share
More Decks by Markus Heurung
See All by Markus Heurung
Test driven infrastructure with chef
muhh
0
93
Best Practices - WordPress unter Hochlast
muhh
0
130
Automatisiere deine WordPress Entwicklungsumgebung
muhh
0
580
Automate your Drupal development environment
muhh
0
54
Building high traffic websites with Drupal
muhh
1
250
Einführung in Chef
muhh
0
96
Drupal staging with git and drush
muhh
0
100
Other Decks in Technology
See All in Technology
4年前、あるじゃん老害エンジニアLT合戦に登壇、米国西海岸コンピュータ歴史博物館体験記の続編
toshi_atsumi
0
200
The CloudCompare project by Dr. Daniel Girardeau-Montaut
kentaitakura
0
510
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
200
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
340
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
0
160
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
710
Janus
bkuhlmann
1
490
Databricksを活用してDELISH KITCHENのレシピレコメンドを開発した話
furu8
0
250
Aurora MySQL v3(MySQL8.0互換)の オンラインDDLの罠挙動を全バージョンで検証した
yutakikai
1
150
現代CSSフレームワークの内部実装とその仕組み
poteboy
2
850
SREとその組織類型
tatsuo48
8
1.5k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
Facilitating Awesome Meetings
lara
41
5.6k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Making Projects Easy
brettharned
108
5.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
29
46k
A Tale of Four Properties
chriscoyier
150
22k
Rebuilding a faster, lazier Slack
samanthasiow
72
8.2k
Music & Morning Musume
bryan
41
5.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
119
38k
The Brand Is Dead. Long Live the Brand.
mthomps
48
28k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Transcript
Run, Content, run!
Markus Heurung @muhh Co-Founder and Web operations lead of freistil
IT freistilbox.com
What’s high performance?
It's about the speed.
anonymous vs. authenticated static vs. generated
What's to optimise? Browser PHP Drupal Webserver Filesystem Database
Static files
Tuning Linux Fast disks File system cache File system layout
Tuning Apache MaxClients & Co. KeepAlive Scaling out
Drupal
Tuning PHP Get many CPU cores Use an opcode cache
(APC) • Check apc.php • 128-256 MB
Drupal Database for almost everything: • Content • Configuration •
Content queries and layout • Caches • Watchdog (logs)
Configure Drupal Compression CSS & JS aggregation Caching Watchdog into
syslog into logstash
Choose your modules wisely!
Optimise your database queries
views queries, too
MySQL Disk I/O InnoDB Buffers (caches, temp tables)
use less DB
Cache → memcached
Search → Apache Solr
Content → MongoDB
None
Varnish
None
None
Tuning Varnish Modules: • Purge, Expire, Rules • Varnish Optimise
VCL logic
1 1 https://www.flickr.com/photos/kimberlykv/5061421858
monitor & measure
Thanks! Questions?
[email protected]