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
910
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
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
6
3.4k
TransitGatewayの基礎
toru_kubota
0
230
4年前、あるじゃん老害エンジニアLT合戦に登壇、米国西海岸コンピュータ歴史博物館体験記の続編
toshi_atsumi
0
200
Four keys改善の取り組み事例紹介
sansantech
PRO
3
230
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
2
700
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
430
Oracle Cloud Infrastructure:2024年4月度サービス・アップデート
oracle4engineer
PRO
1
120
アプリがつくるNOT A HOTELブランド
hokuts
1
450
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
100
Tebiki株式会社 エンジニア採用資料
tebiki
0
4.1k
HEXA OSINT CTF V3 作戦会議
meow_noisy
0
110
マルチアカウント環境への発見的統制の導入
ch1aki
1
1.3k
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
646
58k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
How GitHub (no longer) Works
holman
304
140k
Designing the Hi-DPI Web
ddemaree
276
33k
Building Applications with DynamoDB
mza
88
5.6k
A better future with KSS
kneath
231
16k
For a Future-Friendly Web
brad_frost
171
8.9k
Docker and Python
trallard
33
2.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
A Tale of Four Properties
chriscoyier
150
22k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
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