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
副作用の少ないキャッシュ戦略
Search
mnuma
December 19, 2017
0
170
副作用の少ないキャッシュ戦略
mnuma
December 19, 2017
Tweet
Share
More Decks by mnuma
See All by mnuma
自動テストについて / Automated Testing
mnuma
0
190
Kubernetesの自動アップグレードについて / Upgrading GKE cluster
mnuma
0
160
AWS Auroraのスロークエリを Datadogで扱うまで / How to handle slow_queries_logs in AWS Aurora with Datadog
mnuma
0
680
Googleに学ぶDesign Docs / Learn from Google on Design Docs
mnuma
0
140
Observabilityを実践する / Pragmatic observability
mnuma
2
180
Kubernetes Case Studies #1@Makuake KubeCon NA 2019 Recap
mnuma
0
120
カオスエンジニアリングについてヤホーで調べてきました / Enter the chaos engineering
mnuma
0
71
Chaos Engineering 現状把握 / History Of Chaos Engineering
mnuma
0
300
ISUCON参加を振り返る / Recollect My ISUCON
mnuma
0
130
Featured
See All Featured
The Cult of Friendly URLs
andyhume
78
6.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Into the Great Unknown - MozCon
thekraken
33
1.5k
Speed Design
sergeychernyshev
25
670
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
GitHub's CSS Performance
jonrohan
1030
460k
Statistics for Hackers
jakevdp
796
220k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Fireside Chat
paigeccino
34
3.1k
How STYLIGHT went responsive
nonsquared
95
5.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Transcript
෭࡞༻ͷগͳ͍Ωϟογϡઓུ !4IJOKVLV-5
!NOVNB@ ɾגࣜձࣾϚΫΞέ ɾαʔόαΠυΤϯδχΞ
8FCΞϓϦέʔγϣϯ lΩϟογϡzʹΑΔߴԽ
Ωϟογϡઓུ
Ωϟογϡઓུ ΞΫηεٸ૿ 57ɺQVTI௨ ॏ͍ΫΤϦ ֎෦ґଘ
8FCΞϓϦέʔγϣϯΩϟογϡػߏ
8FCΞϓϦέʔγϣϯΩϟογϡػߏ Ωϟογϡઓུͱ ͦͷύλʔϯ IUUQTTQFBLFSEFDLDPNNP[OJPOQBUUFSOBOETUSBUFHZPGXFCBQQMJDBUJPODBDIJOH
8FCΞϓϦέʔγϣϯΩϟογϡػߏ ϦΫΤετͷߴԽ ෛՙܰݮ IUUQTTQFBLFSEFDLDPNNP[OJPOQBUUFSOBOETUSBUFHZPGXFCBQQMJDBUJPODBDIJOH
ΩϟογϡʹΑΔ෭࡞༻
ΩϟογϡʹΑΔ෭࡞༻ ෳࡶͳΩϟογϡίʔυ ετϨʔδͱͷಉظ Ωϟογϡύʔδͷߟྀ -36ͷߟྀ Ωʔͷઃܭ ςετɾσόοάͷ෭࡞༻
CACHE
ϚΠΫϩΩϟογϯά
෭࡞༻ͷͳ͍ গͳ͍ Ωϟογϡ
.JDSPDBDIJOH ظͰΩϟογϡ͢Δ ͱ͍͏ίϯηϓτ ෭࡞༻ͷͳ͍ গͳ͍ Ωϟογϡ IUUQTXXXOHJOYDPNCMPHCFOFpUTPGNJDSPDBDIJOHOHJOY
෭࡞༻ͷͳ͍ গͳ͍ Ωϟογϡ zϚΠΫϩΩϟογϯάͱɺίϯςϯπΛඇৗʹ࣌ؒʢ͓ͦΒ͘ඵఔʣΩϟογϡ ͢ΔΩϟογϯάख๏Ͱ͢z IUUQTXXXOHJOYDPNCMPHCFOFpUTPGNJDSPDBDIJOHOHJOY
ඵఔͷΩϟογϡΛ ࠐΉ͚ͩͰޮՌత ෭࡞༻ͷͳ͍ গͳ͍ Ωϟογϡ
.BLVBLFͰͷΩϟογϡઓུ
.BLVBLFͰͷΩϟογϡઓུ ύϒϦοΫͳ"1*αʔόͷ ΞΫηεٸ૿ɺॏ͍ΫΤϦͷରࡦͱͯ͠ ΩϟογϡઓུΛಋೖ
(PͰͷΩϟογϡઓུ .JDS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͞ HJOϕʔε
HJODPOUSJCDBDIF ࠷ऴతʹͪ͜ΒΛ࠾༻ ΤϯυϙΠϯτຖʹඵɺPS ఔͷظΩϟογϡΛಋೖ
HJODPOUSJCDBDIF ಋೖ͕εϜʔζ HJOϕʔε Ωʔઃܭͷߟྀ͠ͳ͍ 63* ΫΤϦύλϝʔλ ಉ࣌ϦΫΤετͷෛՙܰݮ ςετ࣌ΩϟογϡΘͳ͍ͳͲରࡦ
DPOUSJCVUF HJODPOUSJCDBDIF
·ͱΊ
ΩϟογϡޮՌత͕ͩ෭࡞༻ͷ͋Δػߏɻ ෭࡞༻Λ͑ͨϚΠΫϩΩϟογϯά ͱ͍͏ίϯηϓτΛ׆༻ɻ ·ͱΊ