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
SRE vs ラマダン
Search
Takayuki WATANABE (渡辺 喬之)
October 14, 2017
Technology
0
230
SRE vs ラマダン
Lightning talk at chukenweb
Takayuki WATANABE (渡辺 喬之)
October 14, 2017
Tweet
Share
More Decks by Takayuki WATANABE (渡辺 喬之)
See All by Takayuki WATANABE (渡辺 喬之)
[Money Forward x Shippio] BaySide-Tech-Nite (May 19, 2023)
takanabe
0
130
[Developers Summit 2023] ソフトウェアテスト新時代の幕開け: 機械学習とデータサイエンスで実現するテスト運用の高度化
takanabe
26
11k
SRE NEXT 2022: Sensible Incident Management for Software Startups
takanabe
2
7.7k
SRE NEXT 2020 [C6] Designing fault-tolerant microservices with SRE and circuit breaker centric architecture
takanabe
1
7.7k
Challenges for Global Service from a Perspective of SRE 2nd season
takanabe
3
4.6k
Practical Approaches to Achieve Continuous Deployment with Kubernetes
takanabe
0
230
Challenges for Global Service from a Perspective of SRE
takanabe
3
3.2k
Building infrastructure on AWS with Ruby
takanabe
0
310
Other Decks in Technology
See All in Technology
KubeCon NA 2024 Recap: How to Move from Ingress to Gateway API with Minimal Hassle
ysakotch
0
200
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
160
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
500
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
170
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
210
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
520
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
190
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
23
11k
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1k
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Bash Introduction
62gerente
608
210k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Side Projects
sachag
452
42k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
A Tale of Four Properties
chriscoyier
157
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
Statistics for Hackers
jakevdp
796
220k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Transcript
43&WTϥϚμϯ DIVLFOXFC
• ลڤ೭ [Takayuki Watanabe] • takanabe • @takanabe_w • ΫοΫύουגࣜձࣾ
• ΠϯϑϥετϥΫνϟʔ෦ SRE άϧʔϓ • ओʹGlobal αʔϏεͷΠϯϑϥͷ։ൃͱӡ༻Λ୲ ࣗݾհ
ΫοΫύουͷάϩʔόϧల։ʹͯ SRE ͕ܦݧͨ͠ ”ϥϚμϯ”ͱ͍͏Πϕϯτ͕ΫοΫύουͷαʔϏε Πϯϑϥʹ༩͑ΔӨڹʹ͍ͭͯ ࠓͷ͓
None
https://cookpad.com ࠃͷΫοΫύουͷτοϓϖʔδ
(MPCBMαʔϏεͷઆ໌
(MPCBMαʔϏεͷઆ໌ ΫοΫύουͷ Global αʔϏε (ҎԼ Global αʔϏε)
(MPCBMαʔϏεͷઆ໌ 21 ݴޠɾ67 ΧࠃҎ্Λରʹ αʔϏεΛల։ https://cookpad.com/us https://cookpad.com/id ɾ ɾ ɾ
(MPCBMαʔϏεͷઆ໌ ੈքதͷΠϕϯτͷӨڹΛड͚Δ
(MPCBMαʔϏεͷઆ໌ Global αʔϏεʹͱͬͯҰେΠϕϯτ ͷҰͭʹͳ͍ͬͯΔͷ͕ɺ
Ramadan
ϥϚμϯͬͯͳʹʁ • ώδϡϥྐྵͱΠεϥϜࣾձͰΘΕΔྺ๚ • ϥϚμϯώδϡϥྐྵʹ͓͚Δ9݄ͷ͜ͱ • அ৯ͷ͜ͱͰͳ͍ • ϥϚμϯظؒத ͷग़͔Β·ͰͷؒɺϜεϦϜ
ͷٛͷҰͭͱͯ͠அ৯͕ߦΘΕΔ • ΠεϥϜྐྵଠӄྐྵ • ϥϚμϯଠཅྐྵ͔ΒݟΔͱຖ11΄Ͳૣ·Δ
ϥϚμϯظؒதͷϢʔβϦΫΤετͷมԽ
ظؒதͷϦΫΤετͷมԽ ϥϚμϯظؒதͷϢʔβϦΫΤετͷมԽ !!
ΫοΫύουʹͱͬͯͷϥϚμϯ • ϥϚμϯظؒதɺޙՈͰීஈΑΓྉཧΛ͢Δਓ͕૿͑Δ • ΫοΫύουΛΒͳ͍ΠεϥϜݍͷਓʑ͕αʔϏεΛར༻ • ৽نϢʔβ֫ಘͷػձ • ΞΫςΟϒϢʔβ૿Ճ •
ϨγϐͷӾཡɾߘ͕૿Ճ • ϓϥοτϑΥʔϜͱͯ͠ͷັྗUP • ϓϨϛΞϜαʔϏεར༻ऀͷ૿Ճ • ऩӹͷ૿Ճ
43&ʹͱͬͯͷϥϚμϯ • զʑஅ৯Λ͠ͳ͍ • Ϣʔβ͔ΒͷϦΫΤετ͕͋ΔಥવഒʹͳΓͦΕ͕Ұϲ݄ଓ͘ • αʔόͷෛՙ૿Ճ • ීஈఆ͍ͯ͠ͳ͍ࣄͷൃੜ •
ෛՙ͕֬อ͍ͯ͠ΔαʔόϦιʔεΛ৯͍ਚ͘͢ • αʔόͷϩά͕ٸ૿ͯ͠σΟεΫΛຒΊਚ͘͢ • ීஈͳ͍εϩʔΫΤϦͰDB͕٧·Δ • etc …
ීஈൃੜ͠ͳ͍αʔόΞϥʔτ͕ൃੜ͕ͪ͠
43&WTϥϚμϯ • ϥϚμϯΛ • Ұ෦ͷٕज़ελοΫͷೖΕସ͑ • खಈͰରԠ͍ͯͨ͠ΦϖϨʔγϣϯΛࣗಈԽ • αʔό܈ͷΩϟύγςΟͷݟ͠ •
ܭըతʹϓϩμΫτ։ൃνʔϜͱ࿈ܞ • ύϑΥʔϚϯεͷվળґཔ • ظؒதʹ࣮ࢪ͢Δ͖ΘͲ͍ࢪࡦͷαϙʔτ • Ϣʔβʹීஈͱಉ͡ʹΑ͏ʹαʔϏεΛఏڙ͢ΔͨΊʹͨ͜͠ͱ • ͜ΕΒΛ࣮ࢪ͢Δ͜ͱͰظؒதͷ on call ରԠΛݮΒ͢
Ұ෦ͷٕज़ελοΫͷೖΕସ͑ • Database • MySQL on Amazon RDS (Magnetic) ͔ΒAmazon
Aurora ʹશ໘ೖΕସ͑ • CDN • Akamai͔Β Fastly ͷΓସ͑ • ΞϓϦέʔγϣϯͷ։ൃڥ • ৽نΞϓϦͷ։ൃ Docker + ECS Λར༻ ˠαʔϏεͷϨεϙϯελΠϜՄ༻ੑͷվળ
ΦϖϨʔγϣϯͷࣗಈԽ • αʔόϦιʔεͷෆΛճආ͢Δ • ΦʔτεέʔϧରͷαʔόΛ֦େ • ෛՙʹԠͯࣗ͡ಈతʹαʔόΛεέʔϧΞτ • haproxy
nginx ͳͲͷίϯϑΟάαʔόͷݱঢ়ʹ ߹Θͤͯࣗಈߋ৽(consul + consul-template) • ϩάͷٸ૿ʹΑΔσΟεΫͷṧഭͱͦͷରԠΛճආ • logrotate ΛͬͯσΟεΫʹϩάΛͣ͞ɺ࣌Ͱ S3 ʹ͢ ͙ʹόοΫΞοϓ͢ΔํࣜΛ࠾༻
αʔό܈ͷΩϟύγςΟͷݟ͠
ϓϩμΫτ։ൃνʔϜͱͷ࿈ܞ
ϓϩμΫτ։ൃνʔϜͱͷ࿈ܞ • ύϑΥʔϚϯεͷϘτϧωοΫΛੳͯ͠վળ • μογϡϘʔυͷڞ༗ • ίʔυϨϕϧͰϘτϧωοΫͷڞ༗ɺվળ
ظؒதʹ࣮ࢪ͢Δ͖ΘͲ͍ࢪࡦͷαϙʔτ • ྫ͑ɺങऩͨ͠αΠτͷσʔλΛΫοΫύουͷσʔλϕʔεʹϝ ϯςφϯεແ͠ͰϚΠάϨʔγϣϯ͢Δ࣌ • 2016͜ΕʹΑΓϥϚμϯظؒதʹ࣌ؒͷαʔϏεఀࢭ͕2 ճൃੜ • ࠓϥϚμϯظؒʹσʔλϚΠάϨʔγϣϯͷ༧ఆ͕͋ͬͨ •
σʔλҠߦํ๏ͷܭըίʔυϨϏϡʔʹࢀՃ • αʔόϦιʔεεϩʔΫΤϦϩάͳͲͷ֤छใΛϞχλϦϯ ά͢ΔμογϡϘʔυͷఏڙ 4FFBMTPIUUQTXXXZPVUVCFDPNXBUDI WQ&9;QV),Z+D
43&WTϥϚμϯͷ݁Ռ
43&WTϥϚμϯͷ݁Ռ େ͖ͳͳ͘ϥϚμϯظؒऴྃ!
ॴײ • ϥϚμϯΛ࢝Ίͱͯ͠αʔϏεͷ Global ల։ͳΒͰͷ՝ ໘ന͞ͱૺ۰͢Δ • େมͳ͜ͱଟ͍͕ɺֶͼଟ͍ • ָ͠Έͳ͕ΒΓӽ͍͑ͨ
• XXX ʹ͚ͯΩϟύγςΟͷݟ͕͠ඞཁΈ͍ͨͳՔಇ͕ ൃੜ͠ͳ͍Α͏ʹγεςϜΛߏஙɾվળ͍ͯ͘͜͠ͱ͕ٻ ΊΒΕ͍ͯΔ(ͨΓલ͕ͩ)
·ͱΊ • GlobalαʔϏεʹͱͬͯϥϚμϯେࣄͳΠϕϯτ • ීஈͱൺֱͯ͠ഒͷنͰϢʔβ͕૿͑Δ • SRE1ϲ݄ଓ͘ߴෛՙΛΓΔͨΊͷࢪࡦΛଧͭ • ෆ͍ͯ͠ΔϦιʔε͢ •
ࣗಈԽ • ϓϩμΫτ։ൃνʔϜͱͷ࿈ܞ • ࠓޙಛʹରࡦΛ͠ͳ͍ͰΓΕΔΑ͏ʹ͢Δͷ͕ॏཁ