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
990
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
Laravelで学ぶOAuthとOpenID Connectの基礎と実装
kyoshidaxx
4
1.8k
韓非子に学ぶAI活用術
tomfook
2
680
Phase07_実務適用
overflowinc
0
1.9k
PostgreSQL 18のNOT ENFORCEDな制約とDEFERRABLEの関係
yahonda
0
120
QA組織のAI戦略とAIテスト設計システムAITASの実践
sansantech
PRO
1
140
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
490
Bref でサービスを運用している話
sgash708
0
190
DDD×仕様駆動で回す高品質開発のプロセス設計
littlehands
6
2.4k
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
130
Change Calendarで今はOK?を仕組みにする
tommy0124
1
110
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
190
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
120
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
170
Music & Morning Musume
bryan
47
7.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
94
Marketing to machines
jonoalderson
1
5k
WCS-LA-2024
lcolladotor
0
500
GitHub's CSS Performance
jonrohan
1032
470k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
エンジニアに許された特別な時間の終わり
watany
106
240k
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