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
170
AWS Auroraのスロークエリを Datadogで扱うまで / How to handle slow_queries_logs in AWS Aurora with Datadog
mnuma
0
700
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
73
Chaos Engineering 現状把握 / History Of Chaos Engineering
mnuma
0
310
ISUCON参加を振り返る / Recollect My ISUCON
mnuma
0
130
Featured
See All Featured
A designer walks into a library…
pauljervisheath
205
24k
RailsConf 2023
tenderlove
29
970
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Fireside Chat
paigeccino
34
3.1k
Mobile First: as difficult as doing things right
swwweet
222
9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Rails Girls Zürich Keynote
gr2m
94
13k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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ͰͷΩϟογϡ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ೖͷखܰ͞ HJOϕʔε
HJODPOUSJCDBDIF ࠷ऴతʹͪ͜ΒΛ࠾༻ ΤϯυϙΠϯτຖʹඵɺPS ఔͷظΩϟογϡΛಋೖ
HJODPOUSJCDBDIF ಋೖ͕εϜʔζ HJOϕʔε Ωʔઃܭͷߟྀ͠ͳ͍ 63* ΫΤϦύλϝʔλ ಉ࣌ϦΫΤετͷෛՙܰݮ ςετ࣌ΩϟογϡΘͳ͍ͳͲରࡦ
DPOUSJCVUF HJODPOUSJCDBDIF
·ͱΊ
ΩϟογϡޮՌత͕ͩ෭࡞༻ͷ͋Δػߏɻ ෭࡞༻Λ͑ͨϚΠΫϩΩϟογϯά ͱ͍͏ίϯηϓτΛ׆༻ɻ ·ͱΊ