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.6k
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
300
Other Decks in Technology
See All in Technology
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
350
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
110
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
580
SSMRunbook作成の勘所_20241120
koichiotomo
2
120
AGIについてChatGPTに聞いてみた
blueb
0
130
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
170
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
860
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
243
12k
How STYLIGHT went responsive
nonsquared
95
5.2k
Designing for humans not robots
tammielis
250
25k
Embracing the Ebb and Flow
colly
84
4.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Statistics for Hackers
jakevdp
796
220k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Designing for Performance
lara
604
68k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
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ϲ݄ଓ͘ߴෛՙΛΓΔͨΊͷࢪࡦΛଧͭ • ෆ͍ͯ͠ΔϦιʔε͢ •
ࣗಈԽ • ϓϩμΫτ։ൃνʔϜͱͷ࿈ܞ • ࠓޙಛʹରࡦΛ͠ͳ͍ͰΓΕΔΑ͏ʹ͢Δͷ͕ॏཁ