Where developers
& sysadmins meet
By Thijs Feryn
Varnish
Slide 2
Slide 2 text
Hi, I’m Thijs
Slide 3
Slide 3 text
I’m
@ThijsFeryn
on Twitter
Slide 4
Slide 4 text
I’m an
Evangelist
At
Slide 5
Slide 5 text
I’m an
at
Evangelist
Slide 6
Slide 6 text
I’m a
at
board member
Slide 7
Slide 7 text
Early
days
Slide 8
Slide 8 text
Down
Slide 9
Slide 9 text
Website performance?
Slide 10
Slide 10 text
More servers
Slide 11
Slide 11 text
Identify slowest part
Slide 12
Slide 12 text
Optimize database
Slide 13
Slide 13 text
Optimize runtime
Slide 14
Slide 14 text
After a while you
hit the limits
Slide 15
Slide 15 text
Caching
Slide 16
Slide 16 text
Memcached
or
Redis
Slide 17
Slide 17 text
No content
Slide 18
Slide 18 text
Optimize database
Optimize runtime
A
void
A
void
Slide 19
Slide 19 text
Varnish
Slide 20
Slide 20 text
Hit rate?
Slide 21
Slide 21 text
Cookies?
Slide 22
Slide 22 text
Cache Control?
Slide 23
Slide 23 text
Developers
Sysadmins
Slide 24
Slide 24 text
No content
Slide 25
Slide 25 text
✓State
✓Performance
✓Scalability
✓Cache invalidation
✓Architecture
People often forget
Slide 26
Slide 26 text
Who writes
the VCL?
Slide 27
Slide 27 text
Varnish still
considered a
sysadmin
responsibility
Slide 28
Slide 28 text
No content
Slide 29
Slide 29 text
Coaching developers
& sysadmins
Slide 30
Slide 30 text
✓No state unless required
✓Cache-control discipline
✓Chop pages into content
blocks
✓AJAX or ESI
✓Reasonable cache
variations
✓Cache invalidation strategy
Advice for developers