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
Smart cache invalidation using Varnish and Ray.AOP
Search
Yoshitaka Jingu
April 29, 2018
Technology
0
970
Smart cache invalidation using Varnish and Ray.AOP
2018/04/29 BEAR.Sunday Meetup #6
Yoshitaka Jingu
April 29, 2018
Tweet
Share
Other Decks in Technology
See All in Technology
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
400
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
130
CDK Toolkit Libraryにおけるテストの考え方
smt7174
1
360
AWS CDK 入門ガイド これだけは知っておきたいヒント集
anank
4
490
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
1
120
開発生産性を測る前にやるべきこと - 組織改善の実践 / Before Measuring Dev Productivity
kaonavi
14
8k
ポストコロナ時代の SaaS におけるコスト削減の意義
izzii
1
190
shake-upを科学する
rsakata
7
900
United Airlines Customer Service– Call 1-833-341-3142 Now!
airhelp
0
170
サイバーエージェントグループのSRE10年の歩みとAI時代の生存戦略
shotatsuge
4
710
Delta airlines®️ USA Contact Numbers: Complete 2025 Support Guide
airtravelguide
0
350
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
270
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Navigating Team Friction
lara
187
15k
Code Reviewing Like a Champion
maltzj
524
40k
Writing Fast Ruby
sferik
628
62k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
Typedesign – Prime Four
hannesfritz
42
2.7k
Transcript
Smart cache invalidation using Varnish and AOP VarnishͱAOPͰߏங͢Δ Ωϟογϡ࠷దԽΞʔΩςΫνϟ Yoshitaka
Jingu @zingooo Bitnauts, inc.
None
None
Infrastructure Reverse Proxy Layer Application Layer log, user tracking
Cache ❖ TTL ❖ TOPϖʔδ30ඵ ❖ هࣄϖʔδ 60ඵ ❖ ໌LINEͰࠂ͕৴͞ΕΔ͔Βରͷϖʔδ3600ඵʹ͓ͯ͜͠͏ɾɾɾ
❖ ΩϟογϡແޮԽ ❖ ແظݶΩϟογϡ + ΩϟογϡແޮԽॲཧ
None
article.id = 1 article.id=1 article.id=8 article.id=2 article.id=5 recommend.id = 1
article.id=3 article.id=4 article.id=6 recommend.id = 2 article.id=7 recommend.id = 3 article.id=8 ranking.id=1 ranking.id=2 ranking.id=3 ranking.id=4 ranking.id=5 ranking.id=6 ranking.id=7 ranking.id=8 ranking.id=9 ranking.id=10 ranking.id=11 ranking.id=12 feature.id=1 feature.id=2 feature.id=3
vmod_xkey
vmod_xkey
bind
page://self/ app://self/article
XkeyInterceptor
CombineHeaderInterceptor
طͷ ❖ ࣌ؒͰมԽ͢ΔϖʔδͷରԠ ❖ ྫ͑ެ։ظ͕ܾؒ·͍ͬͯΔϖʔδͳͲ ❖ όονͰରॲ ❖ Link͞ΕͨϦιʔεͷxkey ❖
Link͞ΕͨResourceObjectbodyͷΈநग़͞Εɺϔομແࢹ͞ΕΔ ❖ ผ్Interceptorͷ։ൃ͕ඞཁ
Thank you! REST AOP DI @koriym Contributors