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
120
[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.5k
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
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
110
使えそうで使われないCloudHSM
maikamibayashi
0
170
フルカイテン株式会社 採用資料
fullkaiten
0
36k
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
170
最速最小からはじめるデータプロダクト / Data Product MVP
amaotone
5
740
Forget efficiency – Become more productive without the stress
ufried
0
130
Amazon FSx for NetApp ONTAPを利用するにあたっての要件整理と設計のポイント
non97
1
160
急成長中のWINTICKETにおける品質と開発スピードと向き合ったQA戦略と今後の展望 / winticket-autify
cyberagentdevelopers
PRO
1
160
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
24
6.8k
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
350
Fargateを使った研修の話
takesection
0
120
omakaseしないための.rubocop.yml のつくりかた / How to Build Your .rubocop.yml to Avoid Omakase #kaigionrails
linkers_tech
3
730
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
107
49k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
Music & Morning Musume
bryan
46
6.1k
Practical Orchestrator
shlominoach
186
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
790
Git: the NoSQL Database
bkeepers
PRO
425
64k
GitHub's CSS Performance
jonrohan
1030
460k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
RailsConf 2023
tenderlove
29
880
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
GraphQLとの向き合い方2022年版
quramy
43
13k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
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ϲ݄ଓ͘ߴෛՙΛΓΔͨΊͷࢪࡦΛଧͭ • ෆ͍ͯ͠ΔϦιʔε͢ •
ࣗಈԽ • ϓϩμΫτ։ൃνʔϜͱͷ࿈ܞ • ࠓޙಛʹରࡦΛ͠ͳ͍ͰΓΕΔΑ͏ʹ͢Δͷ͕ॏཁ