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
650
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
67
Chaos Engineering 現状把握 / History Of Chaos Engineering
mnuma
0
300
ISUCON参加を振り返る / Recollect My ISUCON
mnuma
0
130
Featured
See All Featured
Site-Speed That Sticks
csswizardry
0
26
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Being A Developer After 40
akosma
86
590k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
The Language of Interfaces
destraynor
154
24k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
A better future with KSS
kneath
238
17k
Building Applications with DynamoDB
mza
90
6.1k
For a Future-Friendly Web
brad_frost
175
9.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
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ͰͷΩϟογϡઓུ .JDSPDB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 HJOϕʔε
HJODPOUSJCDBDIF ࠷ऴతʹͪ͜ΒΛ࠾༻ ΤϯυϙΠϯτຖʹඵɺPS ఔͷظΩϟογϡΛಋೖ
HJODPOUSJCDBDIF ಋೖ͕εϜʔζ HJOϕʔε Ωʔઃܭͷߟྀ͠ͳ͍ 63* ΫΤϦύλϝʔλ ಉ࣌ϦΫΤετͷෛՙܰݮ ςετ࣌ΩϟογϡΘͳ͍ͳͲରࡦ
DPOUSJCVUF HJODPOUSJCDBDIF
·ͱΊ
ΩϟογϡޮՌత͕ͩ෭࡞༻ͷ͋Δػߏɻ ෭࡞༻Λ͑ͨϚΠΫϩΩϟογϯά ͱ͍͏ίϯηϓτΛ׆༻ɻ ·ͱΊ