Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Smart cache invalidation using Varnish and Ray.AOP
Search
Yoshitaka Jingu
April 29, 2018
Technology
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Smart cache invalidation using Varnish and Ray.AOP
2018/04/29 BEAR.Sunday Meetup #6
Yoshitaka Jingu
April 29, 2018
Transcript
15 slides
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
More Decks by Yoshitaka Jingu
See All by Yoshitaka Jingu
CMSにAIエージェントを組み込む
jingu
0
24
Other Decks in Technology
See All in Technology
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
270
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
160
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.3k
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
1
540
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
220
AWS Emulator を評価する: 手元で動く AWS の API の仕組み、始め方、確かめ方
inariku
PRO
2
780
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
170
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
460
AIエージェントのアーキテクチャ設計
nsatoh
0
240
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
1
220
人間+AIを「チーム」としてプロセスを再設計する
littlehands
4
3.5k
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
530
Automating Front-end Workflow
addyosmani
1370
210k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Chasing Engaging Ingredients in Design
codingconduct
0
400
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
A Soul's Torment
seathinner
9
3.9k
New Earth Scene 8
popppiees
5
2.9k
Designing for humans not robots
tammielis
254
26k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
From π to Pie charts
rasagy
1
450
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k