Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Varnish: where developers & sysadmins meet - Va...
Search
Thijs Feryn
November 05, 2015
Technology
1
2.1k
Varnish: where developers & sysadmins meet - Varnish Summit Amsterdam 2015
Varnish: where developers & sysadmins meet - Varnish Summit Amsterdam 2015
Thijs Feryn
November 05, 2015
Tweet
Share
More Decks by Thijs Feryn
See All by Thijs Feryn
Caching the uncacheable with Varnish - PHP London 2020
thijsferyn
0
470
Accelerating OTT video platforms with Varnish - London Video Tech meetup 2020
thijsferyn
0
410
't Oncachebare cachen
thijsferyn
0
410
Caching the uncacheable with Varnish - PHP UG FFM 19
thijsferyn
1
840
Developing cacheable PHP applications - PHP Barcelona 2019
thijsferyn
0
680
Caching the uncacheable with Varnish - FullstackEU 2019
thijsferyn
0
510
Varnish beyond basic web acceleration - Symfony Live Berlin 2019
thijsferyn
0
440
Developing cacheable PHP applications
thijsferyn
0
470
Varnish beyond basic web acceleration - DAHO.AM 2019
thijsferyn
0
450
Other Decks in Technology
See All in Technology
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
210
ChatGPTで論⽂は読めるのか
spatial_ai_network
9
29k
AWS CLIの新しい認証情報設定方法aws loginコマンドの実態
wkm2
6
740
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.4k
LLM-Readyなデータ基盤を高速に構築するためのアジャイルデータモデリングの実例
kashira
0
260
因果AIへの招待
sshimizu2006
0
980
Lookerで実現するセキュアな外部データ提供
zozotech
PRO
0
140
.NET 10の概要
tomokusaba
0
110
[JAWS-UG 横浜支部 #91]DevOps Agent vs CloudWatch Investigations -比較と実践-
sh_fk2
2
260
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
3
1.2k
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
370
学習データって増やせばいいんですか?
ftakahashi
2
350
Featured
See All Featured
It's Worth the Effort
3n
187
29k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
For a Future-Friendly Web
brad_frost
180
10k
How STYLIGHT went responsive
nonsquared
100
6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
We Have a Design System, Now What?
morganepeng
54
7.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Transcript
Where developers & sysadmins meet By Thijs Feryn Varnish
Hi, I’m Thijs
I’m @ThijsFeryn on Twitter
I’m an Evangelist At
I’m an at Evangelist
I’m a at board member
Early days
Down
Website performance?
More servers
Identify slowest part
Optimize database
Optimize runtime
After a while you hit the limits
Caching
Memcached or Redis
None
Optimize database Optimize runtime A void A void
Varnish
Hit rate?
Cookies?
Cache Control?
Developers Sysadmins
None
✓State ✓Performance ✓Scalability ✓Cache invalidation ✓Architecture People often forget
Who writes the VCL?
Varnish still considered a sysadmin responsibility
None
Coaching developers & sysadmins
✓No state unless required ✓Cache-control discipline ✓Chop pages into content
blocks ✓AJAX or ESI ✓Reasonable cache variations ✓Cache invalidation strategy Advice for developers
✓Normalize input ✓Cookies blacklist/whitelist ✓URL blacklist/whitelist VCL
When you respect HTTP
Developers are bridging the gap too
Collaboration & empathy AKA DevOps
Architecture
Service Oriented Architecture
REST Cacheable in Varnish if done right
Monolith vs Microservices
Distributed systems
Big Data & NoSQL
Async, concurrent & non-blocking processing
Common goal
Better end-user experience
Frameworks & CMS’es
None
Bullet proof?
Well-designed software should be more scalable
Well-designed software should be faster
Well-designed software doesn’t need much caching?
Always cache … when you can
Well-designed software doesn’t require much VCL
Well-designed software knows how to purge the cache
Challenges
Caching state of mind
Purging
There are only two hard things in Computer Science: cache
invalidation and naming things. —- Phil Karlton
SSL termination + SSL awareness in application
Static assets To cache or not to cache?
Invalidate or not?
Clustering & HA
Varnish flow
None
None