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
2.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Varnish: where developers & sysadmins meet - Varnish Summit Amsterdam 2015
Varnish: where developers & sysadmins meet - Varnish Summit Amsterdam 2015
Thijs Feryn
November 05, 2015
More Decks by Thijs Feryn
See All by Thijs Feryn
Caching the uncacheable with Varnish - PHP London 2020
thijsferyn
0
560
Accelerating OTT video platforms with Varnish - London Video Tech meetup 2020
thijsferyn
0
480
't Oncachebare cachen
thijsferyn
0
480
Caching the uncacheable with Varnish - PHP UG FFM 19
thijsferyn
1
960
Developing cacheable PHP applications - PHP Barcelona 2019
thijsferyn
0
760
Caching the uncacheable with Varnish - FullstackEU 2019
thijsferyn
0
590
Varnish beyond basic web acceleration - Symfony Live Berlin 2019
thijsferyn
0
510
Developing cacheable PHP applications
thijsferyn
0
550
Varnish beyond basic web acceleration - DAHO.AM 2019
thijsferyn
0
540
Other Decks in Technology
See All in Technology
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
390
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.4k
Sets in Go
ramalho
1
1.2k
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
190
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
130
Model Studio CLI × Token Plan
maigo999
0
200
2026-08-15 JAWS-UG 茨城 #16 Secrets ManagerにおけるSecret値の管理(Terraformの場合) / Secrets Manager Secrets
masasuzu
0
460
Rust×eBPFでEDRっぽいものをつくる
sunlife3
2
690
NANDでも描画したい!
nichica906
2
390
老害フォレンジッカーはAI羊の夢を見るか?
tadmaddad
0
360
20分でわかるセキュアAPI
nwiizo
2
320
自宅NWにISR4331を導入してみた話
okaits
0
120
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
530
The agentic SEO stack - context over prompts
schlessera
0
870
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
500
The Invisible Side of Design
smashingmag
301
52k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
390
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
380
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
GraphQLとの向き合い方2022年版
quramy
50
15k
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Odyssey Design
rkendrick25
PRO
2
770
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
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