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
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
510
Accelerating OTT video platforms with Varnish - London Video Tech meetup 2020
thijsferyn
0
430
't Oncachebare cachen
thijsferyn
0
430
Caching the uncacheable with Varnish - PHP UG FFM 19
thijsferyn
1
900
Developing cacheable PHP applications - PHP Barcelona 2019
thijsferyn
0
710
Caching the uncacheable with Varnish - FullstackEU 2019
thijsferyn
0
530
Varnish beyond basic web acceleration - Symfony Live Berlin 2019
thijsferyn
0
460
Developing cacheable PHP applications
thijsferyn
0
500
Varnish beyond basic web acceleration - DAHO.AM 2019
thijsferyn
0
480
Other Decks in Technology
See All in Technology
Why we keep our community?
kawaguti
PRO
0
290
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
210
来期の評価で変えようと思っていること 〜AI時代に変わること・変わらないこと〜
estie
0
110
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
7
4.2k
Phase12_総括_自走化
overflowinc
0
1.6k
「捨てる」を設計する
kubell_hr
0
390
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
16k
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
190
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
380
The essence of decision-making lies in primary data
kaminashi
0
110
Sansanの認証基盤を支えるアーキテクチャとその振り返り
sansantech
PRO
1
100
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
260
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
240
Test your architecture with Archunit
thirion
1
2.2k
Become a Pro
speakerdeck
PRO
31
5.9k
Designing Experiences People Love
moore
143
24k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
How to Ace a Technical Interview
jacobian
281
24k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
RailsConf 2023
tenderlove
30
1.4k
Speed Design
sergeychernyshev
33
1.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
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