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
930
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
460
可能な限り確実にmkdirを成功させるには / Make mkdir
oogfranz
PRO
0
460
サイボウズ #Garoon 開発チームの 「 完成度低いの歓迎LT大会 」 PHPerKaigi出張版 / Low quality LT in PHPerKaigi 2023
oogfranz
PRO
0
510
20年ものの巨大プロダクトをKubernetesに移行している話 後日談/Garoon on Kubernetes after talk
oogfranz
PRO
0
520
20年ものの巨大プロダクトをKubernetesに移行している話/Garoon on Kubernetes
oogfranz
PRO
0
400
PHPアプリケーションだってモニタリングしたい / Monitoring PHP application
oogfranz
PRO
1
580
効果的な静的解析の CI導入パターンを求めて / Great static analysis with CI
oogfranz
PRO
3
3.5k
GitHub力の低い僕でも、 OSSコントリビュートできたワケ / GitHub Power
oogfranz
PRO
1
530
静的解析の育て方 / How to make your static analysis strong
oogfranz
PRO
3
2.7k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Embracing the Ebb and Flow
colly
84
4.5k
Code Reviewing Like a Champion
maltzj
520
39k
The Cost Of JavaScript in 2023
addyosmani
45
7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
GitHub's CSS Performance
jonrohan
1030
460k
Mobile First: as difficult as doing things right
swwweet
222
9k
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ʹґཔɾ૬ஊ͕͘͢͠ͳͬͨ