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
40
Monorepo vs Multirepo
geewiz
0
52
Dealing with IRQ conflicts in 2018
geewiz
0
45
Planning for the Unpredictable
geewiz
0
140
Captaining a Container Ship
geewiz
0
62
Content - Culture - Community
geewiz
0
330
Drupal on Docker
geewiz
0
190
Getting the most out of Varnish (DrupalCamp Galway 2014)
geewiz
0
200
DevOps with Drupal
geewiz
0
280
Other Decks in Technology
See All in Technology
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
130
Creating Intuitive Developer Tool in Swift
giginet
PRO
0
570
AIを使って小説を書こう!【2024/10/25講演資料】
kamomeashizawa
0
160
Capybara+生成AIでどこまで本当に自然言語のテストを書けるか?
yusukeiwaki
6
1.1k
Vueで Webコンポーネントを作って Reactで使う / 20241030-cloudsign-vuefes_after_night
bengo4com
3
180
サイロ化した金融システムを、packwerk を利用して無事故でリファクタリングした話
coincheck_recruit
3
3.2k
現地でMeet Upをやる場合の注意点〜反省点を添えて〜
shotashiratori
0
160
クライアントサイドでよく使われる Debounce処理 をサーバサイドで3回実装した話
yoshiori
1
130
急成長中のWINTICKETにおける品質と開発スピードと向き合ったQA戦略と今後の展望 / winticket-autify
cyberagentdevelopers
PRO
1
120
KMPプロジェクトでマニュアルDIを使う選択
rmakiyama
0
120
Java x Spring Boot Warm up
kazu_kichi_67
2
420
CAMERA-Suite: 広告文生成のための評価スイート / ai-camera-suite
cyberagentdevelopers
PRO
3
230
Featured
See All Featured
RailsConf 2023
tenderlove
29
870
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
GraphQLとの向き合い方2022年版
quramy
43
13k
A better future with KSS
kneath
238
17k
How to Ace a Technical Interview
jacobian
275
23k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
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]