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
980
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
SCONE - 動画配信の帯域を最適化する新プロトコル
kazuho
1
380
OTEPsで知るOpenTelemetryの未来 / Observability Conference Tokyo 2025
arthur1
0
240
入院医療費算定業務をAIで支援する:包括医療費支払い制度とDPCコーディング (公開版)
hagino3000
0
110
初めてのDatabricks Apps開発
taka_aki
1
400
組織全員で向き合うAI Readyなデータ利活用
gappy50
0
280
生成AI時代のPythonセキュリティとガバナンス
abenben
0
140
ブラウザのAPIで Nintendo Switch用の特殊なゲーム用コントローラーを体験型コンテンツに / IoTLT @ストラタシス・ジャパン
you
PRO
0
130
プロファイルとAIエージェントによる効率的なデバッグ / Effective debugging with profiler and AI assistant
ymotongpoo
1
130
知覚とデザイン
rinchoku
1
580
Building a cloud native business on open source
lizrice
0
180
serverless team topology
_kensh
3
230
JSConf JPのwebsiteをGatsbyからNext.jsに移行した話 - Next.jsの多言語静的サイトと課題
leko
2
190
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
YesSQL, Process and Tooling at Scale
rocio
173
15k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Docker and Python
trallard
46
3.6k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
A Tale of Four Properties
chriscoyier
161
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Build your cross-platform service in a week with App Engine
jlugia
233
18k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
Typedesign – Prime Four
hannesfritz
42
2.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
190
55k
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