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
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
510
Accelerating OTT video platforms with Varnish - London Video Tech meetup 2020
thijsferyn
0
440
't Oncachebare cachen
thijsferyn
0
440
Caching the uncacheable with Varnish - PHP UG FFM 19
thijsferyn
1
910
Developing cacheable PHP applications - PHP Barcelona 2019
thijsferyn
0
710
Caching the uncacheable with Varnish - FullstackEU 2019
thijsferyn
0
540
Varnish beyond basic web acceleration - Symfony Live Berlin 2019
thijsferyn
0
470
Developing cacheable PHP applications
thijsferyn
0
500
Varnish beyond basic web acceleration - DAHO.AM 2019
thijsferyn
0
490
Other Decks in Technology
See All in Technology
ASTのGitHub CopilotとCopilot CLIの現在地をお話しします/How AST Operates GitHub Copilot and Copilot CLI
aeonpeople
1
190
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
13
7.6k
制約を設計する - 非決定性との境界線 / Designing constraints
soudai
PRO
6
2.1k
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
3
480
AWSで2番目にリリースされたサービスについてお話しします(諸説あります)
yama3133
0
130
Podcast配信で広がったアウトプットの輪~70人と音声発信してきた7年間~/outputconf_01
fortegp05
0
230
「決め方」の渡し方 / How to hand over the "decision-making process"
pauli
7
1.2k
OPENLOGI Company Profile
hr01
0
83k
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
13k
最大のアウトプット術は問題を作ること
ryoaccount
0
310
Databricks Lakebaseを用いたAIエージェント連携
daiki_akimoto_nttd
0
160
GitHub Copilotを極める会 - 開発者のための活用術
findy_eventslides
5
3.2k
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
860
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
310
Building Applications with DynamoDB
mza
96
7k
Claude Code のすすめ
schroneko
67
220k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
エンジニアに許された特別な時間の終わり
watany
106
240k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Faster Mobile Websites
deanohume
310
31k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
190
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