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
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
Taming you application's environments
salaboy
0
190
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
120
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
120
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
520
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
600
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
200
Featured
See All Featured
Embracing the Ebb and Flow
colly
84
4.5k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Six Lessons from altMBA
skipperchong
27
3.5k
For a Future-Friendly Web
brad_frost
175
9.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Code Review Best Practice
trishagee
64
17k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
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ϲ݄ଓ͘ߴෛՙΛΓΔͨΊͷࢪࡦΛଧͭ • ෆ͍ͯ͠ΔϦιʔε͢ •
ࣗಈԽ • ϓϩμΫτ։ൃνʔϜͱͷ࿈ܞ • ࠓޙಛʹରࡦΛ͠ͳ͍ͰΓΕΔΑ͏ʹ͢Δͷ͕ॏཁ