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
成長し続けるインフラの安定運用事情
Search
Ryosuke Suto
April 23, 2015
Technology
19
5.1k
成長し続けるインフラの 安定運用事情
Ryosuke Suto
April 23, 2015
Tweet
Share
More Decks by Ryosuke Suto
See All by Ryosuke Suto
横断的なSRE推進と成熟度評価
strsk8
9
7.1k
GKEを利用したサービスの運用
strsk8
1
570
パブリック/プライベートクラウドでつかうKubernetes
strsk8
1
2.3k
GKE@AbemaTV
strsk8
12
9.1k
re:Invent2015参加レポ
strsk8
0
270
ソーシャルゲームDBの危機回避
strsk8
10
14k
Other Decks in Technology
See All in Technology
Creative UIs with Compose: DroidKaigi 2024
chrishorner
1
580
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
7
1.4k
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
390
開発者の定量・定性データを組み合わせて開発者体験を把握するための取り組み
ham0215
1
130
LINEヤフーのフロントエンド組織・体制の紹介
lycorp_recruit_jp
1
1.2k
自作Cコンパイラ 8時間の奮闘
soukouki
0
850
Segment Anything Model 2
tenten0727
3
700
o1のAPIで実験してみたが 制限きつすぎて辛かった話
pharma_x_tech
0
200
「認証認可」という体験をデザインする ~Nekko Cloud認証認可基盤計画
logica0419
2
440
実務における脅威モデリングを考えよう
nikinusu
0
630
サーバー管理しないサーバーサービスManaged DevOps Pool
kkamegawa
0
130
Discovering AI Models
picardparis
4
3.9k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
43
13k
A designer walks into a library…
pauljervisheath
201
24k
Typedesign – Prime Four
hannesfritz
39
2.3k
It's Worth the Effort
3n
182
27k
How STYLIGHT went responsive
nonsquared
93
5.1k
The Mythical Team-Month
searls
218
43k
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Happy Clients
brianwarren
96
6.6k
Transcript
3ZPTVLF4VUP ͠ଓ͚ΔΠϯϑϥͷ ҆ఆӡ༻ࣄ
ࣗݾհ ɾਢ౻ྋհʢ͢ͱ͏Γΐ͏͚͢ʣ!TUSTL ɾגࣜձࣾαΠόʔΤʔδΣϯτ ɾ"NFCBιʔγϟϧήʔϜઐͷΠϯϑϥ ΤϯδχΞ ɾਓͰαʔϏεΛ୲
ΞδΣϯμ ɾϘʔΠϑϨϯυʢԾʣͷΠϯϑϥߏ ɾιʔγϟϧήʔϜͷΠϯϑϥʹٻΊΒΕ Δཁ݅ ɾཁ݅ΛΫϦΞ͠ɺ҆ఆӡ༻͢ΔͨΊʹߦ ͍ͬͯΔ͜ͱ
ϘʔΠϑϨϯυʢԾʣ*4Կ
None
ϘʔΠϑϨϯυʢԾʣͱʁ ɾΠέϝϯͷ͕ฉ͚ΔֶԂ࿀ѪήʔϜ ɾձһສਓಥഁʂ ɾ߽՚༏͕ਓҎ্ࢀՃʂ ɾ͍ΖΜͳΠέϝϯʢΧʔυʣͱग़ձͬͯ ɾ͖ͳΧϨΛࣗຫͨ͠Γ ɾѪΛҭΜͩΓ͢ΔήʔϜͰ͢
ϘʔΠϑϨϯυʢԾʣͷ Πϯϑϥߏ
Web Application Server Cache Server Voice Server Game Database Game
Event Database オンプレミス Internet プライベートクラウド 音声データ を保存 mysql-master-ha(MHA) で冗長化 スタンバイ状態の2台 が参照用スレーブ
ϘʔΠϑϨϯυʢԾʣߏ ɾ ɾϓϥΠϕʔτΫϥυͱΦϯϓϨϛεͷϋΠϒ Ϧου ɾ͕8FCΞϓϦέʔγϣϯαʔό ɾσʔλϕʔε.)"GPS.Z42-ͰԽ ɾࢀরΫΤϦ-#Λܦ༝͠εϨʔϒʹ ɾ1$*FܕϑϥογϡετϨʔδΛࡌ ɾΞΫηεͷଟ͍Πϕϯτ༻ςʔϒϧΛׂ
ͳͥϓϥΠϕʔτΫϥυʁ ɾԾԽʹΑͬͯߴੑೳαʔόͷϦιʔε ΛޮΑ͘ར༻Ͱ͖Δ ɾີ͕ߴ͘ͳΔͨΊσʔληϯλʔޮ ྑ͘ར༻Ͱ͖Δʢిݯҙʣ ɾίετϝϦοτ͕͋Δ ɾ͍͍ͨͱ͖ʹ͙͑͢Δ
ͳͥΦϯϓϨϛεʁ ɾ*0͕ϘτϧωοΫʹͳΓ͕ͪͳ෦Ծ ԽͷΦʔόʔϔου͕େ͖͘ύϑΥʔ Ϛϯε͕ྼΔ ɾ1$*FܕϑϥογϡετϨʔδͳͲɺϋʔ υΣΞʹཔ͖ͬͯͨ෦ΛΧόʔͰ͖ͳ ͍
ϋΠϒϦου͚ͩ͡Όͳ͍ ɾֶԂ࿀ѪήʔϜͯ͢ΦϯϓϨϛεͰ ऑ ɾԾۭؒϓϦϯηεότϧήʔϜ͢ ͯ"84ͰΦʔόʔ ɾͯ͢ϓϥΠϕʔτΫϥυͷαʔϏε ͋Γ ɾલޙʁͷΠϯϑϥΛӡ༻
ڊେͳΠϯϑϥʂ
ιʔγϟϧήʔϜʹ ٻΊΒΕΔγεςϜཁ݅
ιʔγϟϧήʔϜͷಛ ɾʑΠϕϯτΛӡ༻͍ͯ͠ΔͨΊෛՙͷ ঢ়ଶʑมԽ͢Δ ɾαʔϏεఀࢭ͕࣌ؒͦͷ··ػձଛࣦʹ ͭͳ͕Δ ɾߦΓഇΓ͕ܹ͍͠ʢݫ͍͠ੈքʣ ɾωΠςΟϒԽɺϦονԽʹΑͬͯϦΞϧ λΠϜੑॏཁʹͳ͖͍ͬͯͯΔ
ٻΊΒΕΔཁ݅ ɾΩϟύͷѲɺεέʔϥϏϦςΟલఏ ɾʑͷมԽʹର͠ૉૣ͘εέʔϧͰ͖Δ ɾಥൃతͳোʹର͠ૉૣ͘ղܾͰ͖Δ ɾૉૣ্ཱͪ͛͘ૉૣ͘Ή͜ͱ͕Ͱ͖Δ ɾϨεϙϯεৗʹૉૣ͘
ٻΊΒΕ͍ͯΔͷ͞
ڊେͰಈతͳΠϯϑϥʂ
ཁ݅ΛΫϦΞ͢ΔͨΊʹ ɾΒͳͯ͘ྑ͍෦ΛΒͳ͍ ɾखΛಈ͔͞ͳͯ͘ྑ͍ͱ͜ΖΛࣗಈԽ͢Δ ɾ࡞ۀࣗମΛޮԽ͢Δ ɾ࡞ۀͷ࠶ݱੑΛߴ͘͢Δ
ཁ݅ΛΫϦΞ͢Δ ʹ҆ఆӡ༻ʹͭͳ͕Δ
҆ఆӡ༻͢ΔͨΊʹ ͖ͯͨ͜͠ͱ
αʔόߏங࣌
αʔόߏங࣌ʹى͖ͨ ɾߏங࡞ۀʹ͕͔͔࣌ؒΔ ɾ৽نͰߏஙͨ͠ϚγϯͱطʹαʔϏεΠ ϯ͍ͯ͠ΔϚγϯͰઃఆ͕ҧ͏ ɾ৽نߏங͕લऀͩͬͨͨΊखॱ͕Θ͔ Βͳ͍ʢ୳ͯ͠ݟ͔ͭΒͳ͍ʣ
ࣄҊᶃ ʮࠓ$.ଧͭ͜ͱʹͳͬͨͷͰαʔό૿ڧ ͓ئ͍͠·͢ʂʯ ʮྃղͰ͢ʂͪͳΈʹ͍͔ͭΒͰ͔͢Ͷʁʯ ʮि໌͚͔Βͷ༧ఆͰ͢ʔʯ ʮΘɺΘ͔Γ·ͨ͠ʢ͑ʯ
None
ϓϩϏδϣχϯάπʔϧͷಋೖ ɾ*OGSBTUSVDUVSFBT$PEF ɾ$IFG "OTJCMFΛར༻ ɾαʔόͷঢ়ଶΛίʔυԽͯ͠(JUIVCͰཧ ɾίϚϯυҰൃͰԿճͷ࣮ߦͰಉ͡ঢ় ଶʹऩଋ͢Δͱ͍͏؍ʢႈੑʣ ɾίʔυԽ͞Ε͍ͯΔͷͰ୭͕࣮ߦͯ͠ಉ ͡
$IFG ɾαʔόͷঢ়ଶΛهड़ ɾIUUQEͷΠϯετʔϧɺࣗಈىಈઃఆɺىಈ
"OTJCMF ɾಉ͡ॲཧΛ"OTJCMFͰॻ͍ͨ߹ ɾIUUQEͷΠϯετʔϧɺࣗಈىಈઃఆɺىಈ
ಋೖཧ༝ ɾ$IFGࣝऀ͕͍ͨͨΊN @@ N ɾ$IFGશαʔϏεڞ௨Ͱ͑ΔΑ͏ʹ ཧ͞Ε͍ͯͯศརͳɺෳࡶͳͷͰܰ ʹ͑Δπʔϧ͕ཉ͔ͬͨ͠ ɾ"OTJCMFΫϥΠΞϯτʹΠϯετʔϧ͕ ඞཁͳ͘ɺֶशίετDIFG΄ͲͰͳ
͔ͬͨͨΊ
ಋೖͯ͠Έͨ݁Ռ ɾQSPT ɾߏங͕ѹతʹָʹͳͬͨ ɾઃఆ͕ҧ͏ͱ͍ͬͨࣄҊ͕ݮͬͨ ɾίʔυΛڞ༗ֶͯ͠ΔจԽ͕ੜ·Εͨ ɾDPOT ɾϓϩϏδϣχϯάπʔϧࣗମͷ༷ʹϋ ϚΔ͜ͱ͕͋Δɾɾɾ
αʔόߏஙҎ֎Ͱ ɾ5FSSBGPSN 1BDLFS 3PBEXPSLFS ɾओʹ"84Ͱͷར༻ ɾ"84ͷωοτϫʔΫॳظߏஙΛίʔυԽ ɾશͯͷαʔόͰڞ௨ͷॳظઃఆΛߦͬͨ ".*Λ࡞ ɾ%/4ϨίʔυΛίʔυԽͯ͠ཧ
ɾৄ͘͠8FCͰ
ࢹઃఆ࣌
ࢹઃఆ࣌ʹى͖ͨ ɾ૿ઃͨ͠αʔό܊ͷઃఆΛՃ͚ͨ͠Ͳ* 1͕Χϒͬͯ࿙Ε͕ൃੜ͍ͯͨ͠ ɾ૿ઃͨ͠ϚγϯΛࢹʹՃͨ͠ͷʹ ࢹ͖߲͕͢ࢹ͞Ε͍ͯͳ͔ͬͨ
ࣄҊᶄ ʮࢹઃఆ͓ئ͍͠·͢ʔʯ ʮྃղͰ͢ʂʯ ʙ࣌ྲྀΕʙ ʮ͋Εɺ͜ͳ͍ͩೖΕͨϚγϯ͚ͩϦιʔ εݟΕͳ͍Ͱ͢Ͷʯ ʮ͔ɺ֬ೝ͠·͢ʢ͑ʯ
None
ࢹઃఆʙ։࢝ΛࣗಈԽ ɾࢹαʔόͰͷखಈઃఆΛΊΔ ɾࢹରͷηοτΞοϓྃ࣌ʹࢹΛ ։࢝͢Δ ɾ;BCCJY 4FOTV .BDLFSFMΛར༻ ɾϓϩϏδϣχϯάπʔϧͰߏஙͨ࣌͠ ͰࢹରʹͳΔ
;BCCJY
;BCCJY ɾ;BCCJYΤʔδΣϯτΛࢹରʹΠϯε τʔϧͯ͠ϗετͱͯ͠ొ͢Δͱ;BCCJ Yαʔόʔ͕ϗετͱ௨৴͠ࢹΛߦ͏ ɾࢹͷߏ͕׳Εͳ͍ͱΘ͔Γʹ͍͘ ɾϝτϦΫεऔಘࢮ׆ࢹ͍͍ͩͨͳ ΜͰͰ͖Δ ɾ6*͕Θ͔ΓͮΒ͍
;BCCJYͰࣗಈԽ ɾ;BCCJY"1*Λར༻ͯ͠ϗετΛՃ ɾϓϩϏδϣχϯάπʔϧͱ࿈ܞ͠ɺ࣮ߦ ࣌ʹࣗΛϗετՃ͢ΔͨΊͷϦΫΤ ετΛૹ৴ ɾ֤ϛυϧΣΞͷࢹ߲ʢςϯϓϨ ʔτʣϛυϧΣΞͷϨγϐʹඥͮ͘ IUUQXXX[BCCJYDPNKQJNH[BCDPOGQSFTFOUBUJPOT DZCFSBHFOUQEG
4FOTV
4FOTV ɾ4FOTV$MJFOUΛࢹରʹΠϯετʔϧ ͯ͠ઃఆΛ͢Δͱࣗಈతʹ4FOTF4FSWFS ʹೝࣝ͞ΕΔ ɾ4FOTV4FSWFSͱ4FOTV$MJFOUͷ௨৴ 3BCCJU.2Λհͯ͠ߦΘΕΔ ɾ8FC6*ͷπʔϧෳ͋ͬͯΈ͕͔Ε Δ
4FOTVͰࣗಈԽ ɾ4FOTF$MJFOUͷઃఆʹར༻͢Δ3BCCJU.2 ͷ*1Λࢦఆͯ͠ىಈ͢Δ ɾϓϩϏδϣχϯάπʔϧͱ࿈ܞͯ͠ɺ࣮ ߦ࣌ʹىಈ IUUQTIJSPBLJTDPNCMPH&# "&"&#&#&&" &TFOTV&"# &#&#&&'
.BDLFSFM
.BDLFSFMͷ߹ ɾࢹܕ4BB4 ɾ༗ྉ ɾࢹରΛ3PMFͰཧ͠ɺࢹΛߦ͏ ɾϝτϦΫε3PMF͝ͱʹݟΔ͜ͱ͕Ͱ͖Δ ɾ4BB4ͳͷͰࢹαʔόΛཱͯΔඞཁ͕ͳ͍
.BDLFSFMͰࣗಈԽ ɾొͨ͠ΞΧϯτͰऔಘͨ͠τʔΫϯ ΛΫϥΠΞϯτͷઃఆʹࢦఆͯ͠ىಈ ɾϓϩϏδϣχϯάπʔϧͱ࿈ܞͯ͠ɺ࣮ ߦ࣌ʹىಈ
ಋೖཧ༝ ɾ;BCCJY 4FOTVࣝऀ͕͍ͨͨΊN @@ N ɾ.BDLFSFMࢹαʔόͷӡ༻ίετΛল ྗԽ͔ͨͬͨ͠ͷͰݕূಋೖதɻϝτϦ Ϋεݟ͍͢ɻ
ಋೖͯ͠Έͨ݁Ռ ɾࢹ࿙Ε͕ͳ͘ͳͬͨ ɾઃఆ࿙Εͳ͘ͳͬͨ ɾ͍͍͜ͱ͔͠ͳ͍
Ξϥʔτൃੜ࣌
Ξϥʔτൃੜ࣌ʹى͖ͨ ɾΞϥʔτ͕໐͚ͬͨͲɺαʔϏεʹӨڹ ͋Δͷ͔Ͳ͏͔Θ͔Βͳ͍ ɾαʔϏεӨڹͷͳ͍Ξϥʔτ͕ଟ͗ͯ͢ Α͘Θ͔Βͳ͍
ࣄҊᶅ ʮͳΜ͔Ξϥʔτདྷ·ͨ͠Ͷʯ ʮήʔϜී௨ʹϓϨΠͰ͖ͯ·͢ʯ ʮॏ͍ͱ͔ಛʹͳ͍͔ͳʔʯ ʮͱɺಛʹͳͦ͞͏Ͱ͢Ͷʜʢ͑ʯ
Ξϥʔτͷਫ਼ࠪ ɾͻͱͭͻͱͭཧ͢Δ ɾ͖͍͠ม͑ͨ΄͏͕ྑ͍ͷม͑Δ ɾग़͞ͳͯ͘ͳͦ͞͏ͳΒग़͞ͳ͍ ɾΞϥʔτͷϨϕϧΛదʹௐ͢Δ ɾඞཁͳࢹ߲Λਫ਼ࠪ͢Δ ɾಓͳ׆ಈ͕҆ఆԽʹͭͳ͕Δ
ଐਓੑ
ଐਓੑ ɾݟΔγεςϜ͕ଟ͍ͨΊશһ͕શγε ςϜɺϦεΫΛѲ͢Δͷ͕ࠔ ɾਓͱࣄΛ͍ͯ͠ΔҎ্ɺภΓΛࣦ͘͢ ͜ͱݫ͍͠ ɾͱ͍͑Ͱ͖Δ͜ͱ͋Δ
ࣄҊᶆ ʮ͓͔ͭΕ͞·Ͱ͢ʔʯ ʮ͓͔ͭΕ͞·Ͱ͢ʔʯ ʮઌͷ%#ෛՙͷ݅ͯԿ͔Θ͔Γ·ͨ͠ʁʯ ʮʜ͋ʔ͍͍ɺ͋ͷ݅Ͱ͢Ͷʔʢʣʯ
ଐਓੑΛݮΒͨ͢Ίʹ ɾ࡞ۀͷίʔυԽɺࣗಈԽ ɾ5SFMMPΛͬͨλεΫڞ༗ͷΈ ɾேձͰͷΞϥʔτνΣοΫɺϦεΫڞ༗ ɾ͙͢νϟοτɺ͙͢͢ ɾ$POqVFODFʢࣾ8JLJʣʹͱʹ͔͘ॻ͘ ɾॏཁͳλεΫϓϩδΣΫτʹͯ͠શһ ͰΔ
ͬͯΈͨ݁Ռ ɾ୭͔͕खΛͤͳ͍ͱ͖ʹଞͷਓ͕ରԠ Ͱ͖ΔʢͰ͖ͯͳ͍ͱ͜Ζ͋Δʣ ɾ୭͔͕ٸʹٳΜͰͦ͜·ͰࠔΒͳ͍ ɾϝϯόʔશһ͕શମͷλεΫͱॏཁΛ ѲͰ͖ΔΑ͏ʹͳ͖͍ͬͯͯΔ ɾ͔͠͠·ͩ·ͩͰ͖ͯͳ͍͜ͱଟ͍
ݱࡏͱ͜Ε͔Βͷ՝
ݱࡏ ɾ҆ఆӡ༻Ͱ͖͖͍ͯͯΔ ɾΠϯϑϥ͕ىҼ͢ΔαʔϏεఀࢭ΄΅ ͳ͘ͳͬͨʢͨ·ʹʜʣ ɾதʹى͜͞ΕΔ͜ͱ΄΅ͳ͍ 㵺Т㵺 ţźō
͜Ε͔Βͷ՝ ɾෛՙϨΠςϯγͱͷઓ͍ଓ͍͍ͯΔ ɾ"84ͷίετҙࣝΛڧ͍ͨ͘͠ ɾΦʔτεέʔϦϯά͕Ͱ͖͍ͯͳ͍ ɾ·ͩ·ͩεϐʔυ͕Γͳ͍ ɾεΩϧɺφϨοδͷภΓ·ͩ·ͩվળத
·ͱΊ ɾ։ൃεϐʔυΛ্͛Ε҆ఆӡ༻ʹͭͳ͕Δ͠ ɺ҆ఆӡ༻͠Α͏ͱࢥͬͨΒ։ൃεϐʔυ্͕ ͕Δͱݴ͑Δ ɾن͕େ͖͘ͳͬͨͱ͖ʹΓํΛม͑ΔͷͰ ͳ͘ɺن͕େ͖͘ͳͬͨͱ͖ʹεέʔϧͰ ͖ΔΓํΛৗʹߟ͍͑ͨ ɾҙࣝΛ࣋ͬͯɺಓʹͰ͖Δ͜ͱΛ૿͠ ͍ͯ͘
͋Γ͕ͱ͏͍͟͝·ͨ͠