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
Dev-meets-Ops
Search
Yuichi Sugiyama
PRO
November 04, 2020
1
890
Dev-meets-Ops
Yuichi Sugiyama
PRO
November 04, 2020
Tweet
Share
More Decks by Yuichi Sugiyama
See All by Yuichi Sugiyama
サイボウズ と Garoon と The PHP Foundation と 私 / Cybozu and Garoon and The PHP Foundation and me
oogfranz
PRO
1
420
可能な限り確実にmkdirを成功させるには / Make mkdir
oogfranz
PRO
0
420
サイボウズ #Garoon 開発チームの 「 完成度低いの歓迎LT大会 」 PHPerKaigi出張版 / Low quality LT in PHPerKaigi 2023
oogfranz
PRO
0
490
20年ものの巨大プロダクトをKubernetesに移行している話 後日談/Garoon on Kubernetes after talk
oogfranz
PRO
0
480
20年ものの巨大プロダクトをKubernetesに移行している話/Garoon on Kubernetes
oogfranz
PRO
0
360
PHPアプリケーションだってモニタリングしたい / Monitoring PHP application
oogfranz
PRO
1
550
効果的な静的解析の CI導入パターンを求めて / Great static analysis with CI
oogfranz
PRO
3
3.4k
GitHub力の低い僕でも、 OSSコントリビュートできたワケ / GitHub Power
oogfranz
PRO
1
490
静的解析の育て方 / How to make your static analysis strong
oogfranz
PRO
3
2.7k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
34
1.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
326
21k
In The Pink: A Labor of Love
frogandcode
139
22k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
25
2k
Gamification - CAS2011
davidbonilla
79
4.9k
Designing for Performance
lara
604
68k
The Pragmatic Product Professional
lauravandoore
31
6.2k
BBQ
matthewcrist
83
9.1k
Fireside Chat
paigeccino
31
2.9k
Raft: Consensus for Rubyists
vanstee
135
6.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
123
18k
Optimizing for Happiness
mojombo
375
69k
Transcript
Devϝϯόʔ͕OpsνʔϜʹ ମݧೖ෦ͨ͠ͳ͠ Cybozu Tech Meetup #8 ମݧೖ෦ͬͯͲΜͳ੍ʁ Garoon։ൃνʔϜ ਿࢁ ༞Ұ
@oogFranz
Whoami • ਿࢁ ༞Ұ • 2015৽ଔೖࣾɻ6ɻ • ΄΅ͣͬͱGaroon։ൃɻ • 8݄͔Β1ϲ݄ؒSREνʔϜʹମݧೖ෦ͨ͠ɻ
• ෳۀͰδϓγʔδϟζϕʔγετ@MASHݭָஂ
ͳΜͰࢲ͕SREʹʁ
SREͱΞϓϦ։ൃνʔϜ • αΠϘζͰΫϥυӡ༻͕࢝·͔ͬͨ࣌Βɺ ։ൃຊ෦ͱӡ༻ຊͰ͔Ε͍ͯΔɻ • ։ൃ։ൃʹूதͰ͖Δɻӡ༻҆ఆӡ༻ʹूதͰ͖Δɻ • Ϋϥυج൫ͷӡ༻ɾอकɾϛυϧΣΞͷΞοϓσʔτɾ ఆظϝϯςφϯε࡞ۀɾϞχλϦϯάͳͲSREͷλεΫɻ •
SREνʔϜ͔ΒඞཁʹԠͯ͡ɺௐࠪλεΫґཔ͕͘Δɻ
SRE 6CVOUVͷόʔδϣϯ͋͛Δ͔Β 1)1ͷόΠφϦରԠΑΖ͘͠ αʔόʔͷϩʔυΞϕϨʔδ͕͕͋ͬͯΔ͔Β ରॲ͓ئ͍͠·͢ ϛυϧΣΞͷϝϞϦ༻ྔ͕ߴ͘ͳͬͯΔͷͰɺ ϝϞϦΛݮΒ͢Α͏ͳΞϓϦͷվमͰ͖·͔͢ YYΤϥʔϨʔτ্͕͕ͬͯΔ͔ΒରԠ͓ئ͍͠·͢ʂ ΅͘ Θ͔Γ·ͨ͠ʢͳʹͨ͠Β͍͍͔ͳΜΘ͔ΒΜʣ
SRE 6CVOUVͷόʔδϣϯ͋͛Δ͔Β 1)1ͷόΠφϦରԠΑΖ͘͠ αʔόʔͷϩʔυΞϕϨʔδ͕͕͋ͬͯΔ͔Β ରॲ͓ئ͍͠·͢ ϛυϧΣΞͷϝϞϦ༻ྔ͕ߴ͘ͳͬͯΔͷͰɺ ϝϞϦΛݮΒ͢Α͏ͳΞϓϦͷվमͰ͖·͔͢ YYΤϥʔϨʔτ্͕͕ͬͯΔ͔ΒରԠ͓ئ͍͠·͢ʂ ΅͘ Θ͔Γ·ͨ͠ʢͳʹͨ͠Β͍͍͔ͳΜΘ͔ΒΜʣ
43&͔ΒͷґཔͳΜΘ͔ΒΜ
SRE͔ΒͷґཔͳΜΘ͔ΒΜ • ීஈDevͱOps͕͔Ε͍ͯΔɻ • ։ൃͰΠϯϑϥपΓΛʢ͋·Γʣҙࣝ͠ͳͯ͘Α͍ • ੑೳվળϛυϧΣΞɺԼճΓͷࣝεΩϧҙࣝ͠ͳ͍ͱ͍͍͔ͭͯͳ͍ • SREґཔͷΠϯϑϥपΓͷରԠλεΫଟ͘ͳ͍͕ɺ ͻͱͭͻͱͭॏ͘ͳΓ͕ͪɻ
• ඞཁͳͱ͖ʹରॲ͢Δ͚ͩͳͷͰɺମܥతʹࣝΛֶͼʹ͍͘ɻ • ҙࣝ͠ͳͯ͘ྑ͍ ≠ Βͳͯ͘ྑ͍
ΞϓϦνʔϜ͕ӡ༻͢Δ͔ʁ • cybozu.comࠓޙNeco ʢk8sʹΑΔαΠϘζࣗલσʔληϯλʔʣʹҠߦ͢Δ https://speakerdeck.com/cybozuinsideout/neco- puroziekutofalsebu-kifang • NecoҠߦޙɺΞϓϦνʔϜ͕ӡ༻ͰΛ࣋ͭൣғ૿͍͑ͯ͘ • αʔόʔߏɺϞχλϦϯάɺϝτϦΫεɺͳͲ
ΞϓϦνʔϜ͕ӡ༻͢Δ͔ʁ • cybozu.comࠓޙNeco ʢk8sʹΑΔαΠϘζࣗલσʔληϯλʔʣʹҠߦ͢Δ https://speakerdeck.com/cybozuinsideout/neco- puroziekutofalsebu-kifang • NecoҠߦޙɺΞϓϦνʔϜ͕ӡ༻ͰΛ࣋ͭൣғ૿͍͑ͯ͘ • αʔόʔߏɺϞχλϦϯάɺϝτϦΫεɺͳͲ
ࠓͷ͏͔ͪΒΞϓϦ։ൃϝϯόʔͱͯ͠ ӡ༻ΛֶΜͰ͓͖͍ͨ
ݸਓతͳϞνϕʔγϣϯ • GaroonʢPHP + JSʣ ։ൃ͔ͯ͠͠ͳ͍ • ӡ༻ͱ͍͏ΩϟϦΞͲ͏͍͏ͷͳͷ͔Γ͍ͨ • ਖ਼ͳɺΠϯϑϥपΓΊͬͪΌۤखͳͷͰɺ
ۤखҙ͚ࣝͩͰऔΓআ͖͍ͨɻ
SREʹମݧೖ෦Ͱऀमߦͩʂ
ମݧೖ෦ • ଞ෦ॺɾଞνʔϜͷ࣮ࡍͷۀΛମݧͰ͖Δ੍ • ࠓޙͷΩϟϦΞͷݕ౼ࡐྉʹͰ͖Δ • ଞ෦ॺΛͬͯɺࠓͷۀʹ׆͔͢ • ମݧ༰ݚम͔Β࣮·Ͱ༷ʑ •
िؒ ʙ ࠷3ϲ݄͘Β͍ • ΤϯδχΞʹݶΒͣɺϏδωεܥϝϯόʔ͕PMΛମݧͨ͠Γ͍ͯ͠Δ 9
ӡ༻ຊ෦ͷᎄ • ӡ༻ʹ͓͍ͯͷఆٛɾܾ·Γ͕ॻ͔Ε͍ͯΔ • SREνʔϜͰͷڞ௨ݴޠΛ·ֶͣΜͩ • σʔληϯλʔͰͷૢ࡞ͷنఆ • ো۠ •
ηΩϡϦςΟنఆͳͲ
ӡ༻ຊ෦ͷᎄ • ӡ༻ʹ͓͍ͯͷఆٛɾܾ·Γ͕ॻ͔Ε͍ͯΔ • SREνʔϜͰͷڞ௨ݴޠΛ·ֶͣΜͩ • σʔληϯλʔͰͷૢ࡞ͷنఆ • ো۠ •
ηΩϡϦςΟنఆͳͲ ӡ༻ຊ෦ͷڞ௨ݴޠΛ·ֶͣͿ
αΠϘζData CenterΛࢧ͑ΔΠϯϑϥQAͷઓ ΑΓ https://speakerdeck.com/cybozuinsideout/saibouzudata-centerwozhi-eruinhuraqafalsetiao-zhan?slide=19
ମݧೖ෦Ͱͬͨ͜ͱ 43&νʔϜͷ։ൃλεΫ ຊ൪ڥΞΧϯτͷऔಘ োରԠʢͷݟֶʣ 43&ʹඞཁͳٕज़ͷௐࠪ
ମݧೖ෦Λऴ͑ͯ • ج൫पΓɺϛυϧΣΞͷௐࠪͷצॴ͕গ͠ͰΈΕͨͷΑ͔ͬͨ • োରԠ࣌ʹSREϝϯόʔ͕·ͣͲ͏͍͏ͱ͜Ζ͔Βௐ͍ࠪͯ͠Δͷ͔ ͕Θ͔͚ͬͨͩͰɺԠ༻͍͢͠ • ͍·ͷαΠϘζͷج൫ͷΘ͔͖ͬͯͨͷͰɺ ࠓޙͷSREΛަ͑ͯͷ͕ٞ͘͢͠ͳͬͨ •
ԼճΓɾੑೳͰࠔͬͨ࣌ʹSREʹґཔɾ૬ஊ͕͘͢͠ͳͬͨ