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
670
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
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Producing Creativity
orderedlist
PRO
341
39k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
What's in a price? How to price your products and services
michaelherold
243
12k
The Cost Of JavaScript in 2023
addyosmani
45
7k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
KATA
mclloyd
29
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
It's Worth the Effort
3n
183
28k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
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*αʔόͷ ΞΫηεٸ૿ɺॏ͍ΫΤϦͷରࡦͱͯ͠ ΩϟογϡઓུΛ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εͷΩʔઃܭ '8తͳಋೖͷखܰ͞ HJOϕʔε
HJODPOUSJCDBDIF ࠷ऴతʹͪ͜ΒΛ࠾༻ ΤϯυϙΠϯτຖʹඵɺPS ఔͷظΩϟογϡΛಋೖ
HJODPOUSJCDBDIF ಋೖ͕εϜʔζ HJOϕʔε Ωʔઃܭͷߟྀ͠ͳ͍ 63* ΫΤϦύλϝʔλ ಉ࣌ϦΫΤετͷෛՙܰݮ ςετ࣌ΩϟογϡΘͳ͍ͳͲରࡦ
DPOUSJCVUF HJODPOUSJCDBDIF
·ͱΊ
ΩϟογϡޮՌత͕ͩ෭࡞༻ͷ͋Δػߏɻ ෭࡞༻Λ͑ͨϚΠΫϩΩϟογϯά ͱ͍͏ίϯηϓτΛ׆༻ɻ ·ͱΊ