Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SLOのある生活を始めよう
Search
株式会社ビットキー / Bitkey Inc.
PRO
October 08, 2021
Technology
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SLOのある生活を始めよう
株式会社ビットキー / Bitkey Inc.
PRO
October 08, 2021
More Decks by 株式会社ビットキー / Bitkey Inc.
See All by 株式会社ビットキー / Bitkey Inc.
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
410
Swift&Xcodeのバージョンアップにまつわる怖かった思い出 / Scary Memories of Swift and Xcode Updates
bitkey
PRO
0
200
iOS/Androidの二刀流エンジニアがFlutter & TypeScriptへ越境後の現在地 - Flutterがメインになって見えた景色と現在の醍醐味 / Dual-Platform Mobile Engineer Shifts to Flutter & TypeScript - The View and Real Thrill of Going Flutter-First
bitkey
PRO
0
550
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
510
失敗を経て、Harness Engineering で 大切にしたいことを考える / Learning from Failure: What Matters in Harness Engineering
bitkey
PRO
1
560
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
3
320
人が担う「価値」とは?これからの「QA」とは / Human Value and the Future of Quality Assurance
bitkey
PRO
0
350
キャリア25年目にしてTypeScript に出会うまで - 「型」を通じて振り返るプログラミング言語遍歴 / Meeting TypeScript After 25 Years in Tech - Looking Back at My Programming Language Journey Through "Types"
bitkey
PRO
2
510
AIのために、AIを使った、Effect-TSからの脱却 〜テストを活用した安全なリファクタリングの進め方〜
bitkey
PRO
2
1k
Other Decks in Technology
See All in Technology
20260912_スクラムにジェネラリストは必要か
ryugen04
0
390
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
130
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
170
Screen Lens - 今見てる画面を翻訳する
komagata
0
260
2026/09/10 Spring Bootから Jakarta EE/MicroProfileへの移行
megascus
0
350
range over func 2年間の軌跡 Issue #56413 はGoのエコシステムをどう変えたか
ryujicre8ive
0
130
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/6 - 2026/8
oracle4engineer
PRO
0
190
[2026-09-11]SREは誰のもの?運用エンジニアが始める 「SRE領域への越境」とチームの進化の軌跡 〜Road to NEXT CRE
tosite
0
170
「図書館」という名前のままでいいのか -Code4Lib JAPANカンファレンス2026 アンカンファレンス報告- / Code4Lib JAPAN Conference 2026: Unconference Report
ykiyota
0
170
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
560
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
1
310
ASTを使って影響範囲を特定する
nealle
0
180
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
390
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
Technical Leadership for Architectural Decision Making
baasie
3
560
A Tale of Four Properties
chriscoyier
163
24k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Facilitating Awesome Meetings
lara
57
7.1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
30 Presentation Tips
portentint
PRO
1
390
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
820
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
Transcript
- ݈શͳαʔϏεΛࢦͯ͠ - SLOͷ͋Δੜ׆Λ࢝ΊΑ͏
·ͩ SLO Λಋೖ͍ͯ͠ͳ͍ਓ͚ͷϙΠϯτ • SLO͕Կʹʹཱͭͷ͔ɺͲ͏ͬͯ SLO ͷ͋Δੜ׆Λ࢝ΊΕྑ͍͔ ◦ ۩ମతʹγϯϓϧʹ SLO
Λಋೖ͢Δํ๏Λհ ͢Ͱʹ SLO Λಋೖ͍ͯ͠Δਓ͚ͷϙΠϯτ • ࠷ޙͷํʹཧ͢ΔSLO ͷӡ༻Ͱಘͨݟͱࠓޙͷల ◦ 1ؒͷӡ༻Ͱʮ͜͏ͨ͠ํ͕ྑ͔ͬͨʯ͜ͱͳͲΛڞ༗ 2 0. ൃදͷϙΠϯτ
Outline 1. ࣗݾհ/bitkey platform ͷհ 2. platform ͱͯ͠ٻΊΒΕͨ͜ͱ 3. SLO
ΛܾΊΑ͏ʂ 4. SLO Λӡ༻͠Α͏ʂ 5. ·ͱΊ + α 3 3
ϏοτΩʔೖࣾ ࠷ॳͷϦϦʔεͱ΄΅ಉ࣌ظʹೖࣾ “ΧΪ” ͷϓϥοτϑΥʔϜ: bitkey platform ͷ։ൃΛ ୲( “Bitkey ϩάΠϯ”
ػೳͷ։ൃͳͲ ) ERPϕϯμೖࣾ ERPͷձܭϞδϡʔϧ։ൃʹଐ ػೳͷఏҊɾઃܭɾ࣮Λ୲ ϞδϡʔϧશମͷCIͷཧΛ୲ ߴڮ యੜ Takahashi Noriki 2016 2017 2019 FinTech ܥελʔτΞοϓͰΠϯλʔϯγοϓ ӈࠨΘ͔Βͳ͍ͳ͕Βɺe-Tax ͷϝοηʔδ֬ ೝػೳͳͲΛ࣮ ΤϯδχΞͱͯ͠ͷ࠷ॳͷҰา 2021 bitkey platform ͷ։ൃ/อकɾӡ༻ ࠷ॳͷϦϦʔε͔Β2ͨͬͨ bitkey platform Λ ΑΓ݈શͳαʔϏε։ൃΛܧଓͰ͖ΔΑ͏ʹฃಆத
1. ෯͘ར༻͞ΕΔplatform: bitkey platform 5 • homehub: ࣗͷΧΪ ◦ ྫ:
bitkey platform Λར༻ͯ͠Ոͷ൶ͷσδλϧΩʔΛੜ • workhub: ΦϑΟεͷΧΪ ◦ ྫ: bitkey platform Λར༻ͯ͠ΦϑΟεೖؗ༻ͷNFCΧʔυೝূͷͨΊͷใΛੜ • exphub: ΠϕϯτͷΧΪ ◦ ྫ: bitkey platform Λར༻ͯ͠ϥΠϒ༻ͷإೝূͷͨΊͷใΛੜ → ෯͘ར༻͞ΕΔ bitkey platform
platform ͱͯ͠ٻΊΒΕͨͷ 6 6
෯͘ΘΕΔ platform ʹٻΊΒΕͨͷ 7 7 2. platform ͱͯ͠ٻΊΒΕͨͷ
൚༻తͳػೳ܈ 8 8 2. platform ͱͯ͠ٻΊΒΕͨͷ
൚༻తͳػೳ܈ ͚ͩ͡Όͳ͍ 9 9 2. platform ͱͯ͠ٻΊΒΕͨͷ
൚༻తͳػೳ܈ ͚ͩ͡Όͳ͍ + ػೳͷܧଓతͳఏڙ(Մ༻ੑ) 10 10 2. platform ͱͯ͠ٻΊΒΕͨͷ
ͭ·Γ 11 11 2. platform ͱͯ͠ٻΊΒΕͨͷ
γεςϜ(platform)ͷ߹ “Մ༻ੑ͕͚Εੜ͖͍͚ͯͳ͍ɻ ػೳ͕ͳ͚Εੜ͖͍ͯ͘ࢿ͕֨ͳ͍ɻ” 12 12 2. platform ͱͯ͠ٻΊΒΕͨͷ
ਓؒ(୳ఁ)ͷ߹ “ڧ͘ͳ͚Εੜ͖͍͚ͯͳ͍ɻ ༏͘͠ͳ͚Εੜ͖͍ͯ͘ࢿ͕֨ͳ͍ɻ” 13 13 2. platform ͱͯ͠ٻΊΒΕͨͷ
ਓؒ(୳ఁ)ͷ߹ “ڧ͘ͳ͚Εੜ͖͍͚ͯͳ͍ɻ ༏͘͠ͳ͚Εੜ͖͍ͯ͘ࢿ͕֨ͳ͍ɻ” 14 14 2. platform ͱͯ͠ٻΊΒΕͨͷ by ϑΟϦοϓɾϚʔϩ
ཁ͢Δʹ 15 15 2. platform ͱͯ͠ٻΊΒΕͨͷ
Մ༻ੑͷͨΊͷอक։ൃ ػೳॆ࣮ͷͨΊͷػೳ։ൃ 16 16 2. platform ͱͯ͠ٻΊΒΕͨͷ
Մ༻ੑͷͨΊͷอक։ൃ ػೳॆ࣮ͷͨΊͷػೳ։ൃ ྆ํͱେࣄ 17 17 2. platform ͱͯ͠ٻΊΒΕͨͷ
͔͠͠ ྆ऀʹτϨʔυΦϑͷ͕ؔ͋Δ 18 18 2. platform ͱͯ͠ٻΊΒΕͨͷ
19 2. platform ͱͯ͠ٻΊΒΕͨͷ ػೳ։ൃ อक ։ൃ
ᶃ อक։ൃ͢Δ͕࣌ؒͳ͘ͳΔ ᶄ อकର૿Ճ & γεςϜͷෆ҆ఆԽ → อक։ൃͷඞཁੑͷ૿Ճ 20 2.
platform ͱͯ͠ٻΊΒΕͨͷ ػೳ։ൃ อक ։ൃ
ᶃ อक։ൃ͢Δ͕࣌ؒͳ͘ͳΔ ᶄ อकର૿Ճ & γεςϜͷෆ҆ఆԽ → อक։ൃͷඞཁੑͷ૿Ճ 21 2.
platform ͱͯ͠ٻΊΒΕͨͷ ػೳ։ൃ อक ։ൃ
όϥϯε͕औΓʹ͍͘ 22 22 2. platform ͱͯ͠ٻΊΒΕͨͷ
όϥϯε͕औΕͳ͘ͳΔͱ... 23 23 2. platform ͱͯ͠ٻΊΒΕͨͷ
24 2. platform ͱͯ͠ٻΊΒΕͨͷ ػೳ։ൃ อक ։ൃ
25 2. platform ͱͯ͠ٻΊΒΕͨͷ ػೳ։ൃ อक ։ൃ • ΠϯγσϯτൃੜϦεΫ্͕ •
Πϯγσϯτͷஹީ͕͔ͭΊͳ͍ • ΠϯγσϯτͷஹީΛ௫Μͩͱͯ͠ɺػೳ։ൃ͕༏ઌ͞Εͯ͠·͏
26 2. platform ͱͯ͠ٻΊΒΕͨͷ ػೳ։ൃ อक ։ൃ • ΠϯγσϯτൃੜϦεΫ্͕ •
Πϯγσϯτͷஹީ͕͔ͭΊͳ͍ • ΠϯγσϯτͷஹީΛ௫Μͩͱͯ͠ɺػೳ։ൃ͕༏ઌ͞Εͯ͠·͏ → “ੜ͖͍͚ͯͳ͍”
27 2. platform ͱͯ͠ٻΊΒΕͨͷ อक։ൃ ػೳ ։ൃ
28 2. platform ͱͯ͠ٻΊΒΕͨͷ อक։ൃ ػೳ ։ൃ • ػೳ͕ग़ͯ͜ͳ͍
29 2. platform ͱͯ͠ٻΊΒΕͨͷ อक։ൃ ػೳ ։ൃ • ػೳ͕ग़ͯ͜ͳ͍ →
“ੜ͖͍ͯ͘ࢿ͕֨ͳ͍”
྆ऀͷόϥϯεΛऔΔͨΊͷ”πʔϧ” 30 30 2. platform ͱͯ͠ٻΊΒΕͨͷ
྆ऀͷόϥϯεΛऔΔͨΊͷ“πʔϧ” SLO 31 31 2. platform ͱͯ͠ٻΊΒΕͨͷ
SLO ͱ 32 32 2. platform ͱͯ͠ٻΊΒΕͨͷ
SLO(αʔϏεϨϕϧඪ) ͱ • γεςϜͷ݈શੑͷඪج४ ◦ ݈શੑͷࢦඪͷྫ ▪ Քಇ(≒ Մ༻ੑ) ▪
ύϑΥʔϚϯε ▪ … ◦ ͜ͷൃදͰγϯϓϧʹ͢ΔͨΊʹɺओʹՄ༻ੑʹϑΥʔΧε ◦ ਓؒͰ͍͏ͱʮԿΛපؾͱఆ͢Δ͔ʯͷج४ͷΑ͏ͳͷ 33 2. platform ͱͯ͠ٻΊΒΕͨͷ
SLO(αʔϏεϨϕϧඪ) ͱ • γεςϜͷ݈શੑͷඪج४ ◦ ݈શੑͷࢦඪͷྫ ▪ Քಇ(≒ Մ༻ੑ) ▪
ύϑΥʔϚϯε ▪ … ◦ ͜ͷൃදͰγϯϓϧʹ͢ΔͨΊʹɺओʹՄ༻ੑʹϑΥʔΧε ◦ ਓؒͰ͍͏ͱʮԿΛපؾͱఆ͢Δ͔ʯͷج४ͷΑ͏ͳͷ 34 2. platform ͱͯ͠ٻΊΒΕͨͷ
SLO ͷظ͞ΕΔޮՌʁ 35 35 2. platform ͱͯ͠ٻΊΒΕͨͷ
ᶃ ϢʔβʔʹఏڙͰ͖Δ݈શੑͷظ Λࣔ͢͜ͱ͕Ͱ͖Δɻ 36 36 2. platform ͱͯ͠ٻΊΒΕͨͷ
ᶄ ػೳ։ൃͱอक։ൃͷόϥϯεͷج४Λ νʔϜ֎ͱೝࣝΛ߹ΘͤΔ ͜ͱ͕Ͱ͖Δɻ 37 37 2. platform ͱͯ͠ٻΊΒΕͨͷ
SLO ͱ͍͏ “πʔϧ” Λ Ͳ͏͍ͬͯ͜ͳ͢ͷʁ 38 38 2. platform ͱͯ͠ٻΊΒΕͨͷ
ᶃ ·ͣ SLO(ඪ) ΛܾΊͯ ᶄ ϧʔϧʹଇͬͯӡ༻͢Δ 39 39 2. platform
ͱͯ͠ٻΊΒΕͨͷ
·ܾͣΊΔͱ͜Ζ͔Β 40 40 2. platform ͱͯ͠ٻΊΒΕͨͷ
SLO ΛܾΊΑ͏ʂ 41 41
ʮΑ͠ɺ͡Ό͋৭ʑௐܾͯΊΔͧʯ 42 42 3. SLO ΛܾΊΑ͏ʂ
ʮϏδωε্ͷΠϯύΫτͱରԠ͍ͯ͠ͳ͚ΕͳΒͳ͍...ʯ ʮSLO Մ༻ੑ͚ͩ͡Όͳ͘...ʯ ʮError Budget ௨ৗͷ༧ࢉͱߟ͍͚͑ͯͳ͍ͷͰ͋ͬͯ...ʯ ʮ·ͣɺSLI ͕͋ͬͯɺͦͯ͠ɺSLA ͱ SLO
ҧ͍ͬͯͯ...ʯ ʮxxx ͳͷ SLO ͱ͍͑ͳ͍ʯ ʮ৺తSLO ͱ͍͏ߟ͑ํ͋Γ...ʯ 43 43 3. SLO ΛܾΊΑ͏ʂ
ʮΉɺ͍͠...ʯ 44 44 3. SLO ΛܾΊΑ͏ʂ
ʮSLO࡞Δࣗ৴͕ͳ͘ͳ͖ͬͯͨ...ʯ 45 45 3. SLO ΛܾΊΑ͏ʂ
ʮ͏ͪͷνʔϜʹɺ·ͩྑ͍͔ͳʯ 46 46 3. SLO ΛܾΊΑ͏ʂ
ཱͪࢭ·Δͷ·ͩૣ͍ 47 47 3. SLO ΛܾΊΑ͏ʂ
ࠔͬͨͱ͖ͷ࠷ॳͷҰา 48 48 3. SLO ΛܾΊΑ͏ʂ
ࠔͬͨͱ͖ͷ࠷ॳͷҰา → Մ༻ੑͷSLOΛ·ͣઃఆ͢Δ 49 49 3. SLO ΛܾΊΑ͏ʂ
SLO ΛܾΊΔͨΊͷཁૉ ᶃ ࢦඪ ᶄ ج४ ᶅ ظؒ 50 50
3. SLO ΛܾΊΑ͏ʂ
ᶃ ࢦඪ 51 51 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑ 52 52 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑͬͯͲ͏ͬͯఆٛ͢Ε... 53 53 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑͬͯͲ͏ͬͯఆٛ͢Ε... 54 54 3. SLO ΛܾΊΑ͏ʂ
Web ͳΒ͜ΕͰOK 2xx Ϩεϙϯε / (2xx + 5xx)Ϩεϙϯε 55 55
3. SLO ΛܾΊΑ͏ʂ
ᶄ ج४ 56 56 3. SLO ΛܾΊΑ͏ʂ
99.99%? 99.9% Ͱेʁ Ϗδωε্ͷΠϯύΫτͲ͏ͩΖ͏... 57 57 3. SLO ΛܾΊΑ͏ʂ
99.99%? 99.9% Ͱेʁ Ϗδωε্ͷΠϯύΫτͲ͏ͩΖ͏... 58 58 3. SLO ΛܾΊΑ͏ʂ
໎͏ͳΒ 99% ͰܾΊଧͪͰOKʂ 59 59 3. SLO ΛܾΊΑ͏ʂ
ᶅ ظؒ 60 60 3. SLO ΛܾΊΑ͏ʂ
࢛ظͰ͍͜͏ʂ 61 61 3. SLO ΛܾΊΑ͏ʂ
SLO ΛܾΊΔͨΊͷཁૉ ᶃ ࢦඪ: Մ༻ੑ(= 2xx ͷׂ߹) ᶄ ج४: 99%
ᶅ ظؒ: ࢛ظ 62 62 3. SLO ΛܾΊΑ͏ʂ
SLO ͕ܾ·ͬͨʂ 63 63 3. SLO ΛܾΊΑ͏ʂ
SLO ͕ܾ·ͬͨʂ 64 64 3. SLO ΛܾΊΑ͏ʂ
SLO ͷࢦඪ ࢉग़Ͱ͖ΔΑ͏ʹ͓ͯ͜͠͏ 65 65 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑͷࢦඪͷࢉग़ํ๏ 66 66 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑͷࢦඪͷࢉग़ํ๏ ᶃ ϨεϙϯεͷϩάΛు͖ग़͢Α͏ʹΞϓϦέʔγϣϯʹઃఆ • HTTP ͷεςʔλείʔυ͕Θ͔ΔΑ͏ʹ͓͚ͯ͠े ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ •
ूܭύλʔϯ ◦ [ຖ] ۙ7ؒΛूܭ → ࠷ۙͷ݈શੑ͕Θ͔Δ ◦ [࢛ظ͝ͱ] ࢛ظશମΛूܭ → SLO ͷ“݁Ռ”͕Θ͔Δ 67 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶃ ϨεϙϯεͷϩάΛు͖ग़͢Α͏ʹΞϓϦέʔγϣϯʹઃఆ • Cloud Load Balancing ར༻ͳΒɺCloud Logging Ͱඪ४Ͱग़͍ͯΔͷͰՃͷઃఆෆཁ
ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • Cloud Logging → Cloud Monitoring ͷ࿈ܞͰ࣮ݱՄೳ 68 3. SLO ΛܾΊΑ͏ʂ Monitoring Cloud Load Balancing Logging
Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • [ҙ] ίϯιʔϧը໘Ͱઃఆͮ͠Β͍ • ࢀߟࢿྉʹ͋ΔΑ͏ʹCLI͔ΒΔͷָ͕ 69
3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
ೝূɾ४උ 70 3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
αʔϏεͷ࡞ 71 3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
SLOͷ࡞ 72 3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
SLOͷ࡞: Մ༻ੑͷࢦඪ(serviceLevelIndicator)ͷࢦఆ 73 3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
SLOͷ࡞: Մ༻ੑͷࢦඪ(serviceLevelIndicator)ͷࢦఆ 74 3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
SLOͷ࡞: Մ༻ੑͷࢦඪ(serviceLevelIndicator)ͷࢦఆ 75 3. SLO ΛܾΊΑ͏ʂ ࢀߟ1: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/lb-metrics ࢀߟ2: https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/using-api#slo-create
ରͷϩʔυόϥϯγϯάͷ໊শ `gcloud compute url-maps list`
Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • Cloud Logging → Cloud Monitoring
ͷ࿈ܞͰ࣮ݱՄೳ • Cloud Monitoring > αʔϏε 76 3. SLO ΛܾΊΑ͏ʂ
Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • Cloud Logging → Cloud Monitoring
ͷ࿈ܞͰ࣮ݱՄೳ • Cloud Monitoring > αʔϏε 77 3. SLO ΛܾΊΑ͏ʂ
ʮΉΉɺ·ͨԿ͔େมͦ͏ͩͳʯ 78 78 3. SLO ΛܾΊΑ͏ʂ
ʮΉΉɺ·ͨԿ͔େมͦ͏ͩͳʯ 79 79 3. SLO ΛܾΊΑ͏ʂ
ίϚϯυ࡞͓͖ͬͯ·ͨ͠ 80 80 3. SLO ΛܾΊΑ͏ʂ
https://github.com/nrnrk/gcp-slo-create 81 81 3. SLO ΛܾΊΑ͏ʂ
ͳʹͱ͋Ε 82 82 3. SLO ΛܾΊΑ͏ʂ
SLO ͷࢦඪͷ࣮͕औΕͨʂ 83 83 3. SLO ΛܾΊΑ͏ʂ
SLO ͷࢦඪͷ࣮͕औΕͨʂ 84 84 3. SLO ΛܾΊΑ͏ʂ
࣍ɺSLO ͱ࣮Ͱӡ༻͠Α͏ʂ 85 85 3. SLO ΛܾΊΑ͏ʂ
SLO Λӡ༻͠Α͏ʂ 86 86
ᶃ SLO ʹج͍ͮͨߦಈ • ఆΊͨSLOʹج͍ͮͯߦಈ͢Δ ◦ SLO ʹҧ͍ͯ͠ͳ͍͜ͱΛ֬ೝ͢Δ ◦ SLO
ʹҧͨ͠߹ʹΞΫγϣϯΛऔΔ • ຖ ᶄ SLO ࣗମͷৼΓฦΓ& ߋ৽ • ఆΊͨSLOࣗମΛৼΓฦΓɺߋ৽͢Δ ◦ SLO ߴ͗͢ͳ͍͔͗͢ͳ͍͔ ◦ SLO ͕࣮ࡍͷϢʔβʔͷظͱ߹͍ͬͯΔ͔ • ࢛ظʹ1ճ 4. SLO Λӡ༻͠Α͏ʂ 87
ᶃ SLO ʹج͍ͮͨߦಈ ຖΔ͜ͱ • SLO ʹҧ͍ͯ͠ͳ͍͔ΛνΣοΫ • νʔϜͷσΠϦʔMTGͰͷ࣮ࢪ͕͓͢͢Ί ۓٸ࣌ͷ४උ
• SLO ʹҧ͍ͯͨ͠Βɺػೳ։ൃͳͲΛͱΊͯҧͷղফΛ࠷༏ઌʹ͢Δ • νʔϜͷଋࣄʹ͓ͯ͘͠ 4. SLO Λӡ༻͠Α͏ʂ 88
ᶄ SLO ࣗମͷৼΓฦΓ& ߋ৽ • SLO ࣗମͱӡ༻ํ๏ΛৼΓฦΔ ◦ ࢛ظʹ1ճ ◦
ϙΠϯτ ▪ ظؒதSLO ୡͰ͖͔ͨʁ ▪ SLO ߴ͗͢ͳ͍͔ʁ͗͢ͳ͍͔ʁ ▪ SLO ͷӡ༻͕Ϣʔβʔͷຬͱਖ਼͘͠ରԠ͍ͯ͠Δ͔ʁ ▪ ࢦඪద͔ʁ • ৼΓฦΓΛجʹ࣍ͷSLOΛઃఆ ◦ ඪΛ্͛ΔɾԼ͛Δ / ࢦඪΛՃɾআͳͲ ʮͱΓ͋͑ͣɺՄ༻ੑΛʯͱ࢝Ίͨஈ֊͔ΒঃʑʹϨϕϧΞοϓ͍ͯ͘͜͠ͱ͕Ͱ͖Δ 4. SLO Λӡ༻͠Α͏ʂ 89
1ؒͷӡ༻ͯ͠ಘͨݟ • ϦΫΤετ͕গͳ͍ঢ়ଶͰɺՄ༻ੑͷSLOͷج४Λ্͍͚͛͗ͯ͢ͳ͍ʂ ◦ ۃʹ͍͏ͱɺ1ݸΤϥʔ͕ى͖ͨΒ SLO ҧʹͳͬͯ͠·͏ ◦ ϦΫΤετ͕গͳ͍ঢ়ଶͰɺ99.9% →
99.99% Ͱରͯ͠ຬ্͕Βͳ͍ • ಛʹࢦඪͷΛԼ͛Δ͜ͱ͕Θ͔͍ͬͯΔಛఆͷΤϯυϙΠϯτࠞͥͳ͍ʂ ◦ ಛఆͷΤϯυϙΠϯτ͕ୟ͔ΕΔසͱSLOҧ͕తʹඥͮ͘ → ੍ޚͰ͖ͳ͍ • 4xx ΤϥʔՄ༻ੑͷࢦඪʹೖΕͳ͍ʂ ◦ 4xx Τϥʔฦ͍͢͠ͷͰɺ࣮ଶΑΓࢦඪ͕ߴ͘ग़Δ • rate limit (ΞΫηεͷྲྀྔ੍ݶ) Ͱ SLO ΑΓ੍ޚ͘͢͠ͳΔʂ ◦ ࣾαʔϏε͔ΒͷΞΫηεํ๏ʹΑͬͯɺࢦඪ͕ӨڹΛड͚͍͢ঢ়ଶΛආ͚Δ 4. SLO Λӡ༻͠Α͏ʂ 90
࣍ͷεςοϓ • PMF(Product Market Fit) ͷਪਐ ◦ bitkey platform →
ࣾผαʔϏε → ΤϯυϢʔβʔ ͱ͍͏ܗʹͳΔͷͰɺΤϯυϢʔβʔͷ ຬͱ bitkey platform ͰऔΕΔࢦඪ(Մ༻ੑɾϨΠςϯγͳͲ)ΛରԠ͚͕͍͠ ◦ Մ༻ੑɾϨΠςϯγʹՃ͑ͯɺඞཁʹԠͯ͡ࢦඪͷՃɾվྑΛ࣮ࢪ༧ఆ 4. SLO Λӡ༻͠Α͏ʂ 91
·ͱΊ + α 92 92
SLO ͷޮ༻ • ػೳ։ൃɾอक։ൃ(ӡ༻)ͷόϥϯεΛνʔϜ֎ͱೝࣝΛ߹ΘͤΒΕΔ • ӡ༻Λϧʔϧʹ͢Δ͜ͱͰɺଐਓԽΛ͗ɺνʔϜͱ݈ͯ͠શͳαʔϏε։ൃ͕Ͱ͖Δ SLO ͷ͋Δੜ׆ • ·ͣઃఆ͢Δ͜ͱ͔ΒΔͱ͡Ί͍͢
◦ ໎ͬͨΒԿߟ͑ͣՄ༻ੑ99%͔Β࢝ΊΕྑ͍ ͓·͚ • SLOಋೖޙʹ᷿ͷهࣄΛݺΜͰৼΓฦΓʹ׆͔͢͜ͱͰਐԽͤ͞Δ͜ͱ͕Ͱ͖Δ • ൃදऀQiita ʹ SLO ҧࣗମΛҰఆͷ༏ઌॱҐΛकΓͭͭɺݮΒ͢ࢪࡦʹ͍ͭͯॻ͖·ͨ͠ ◦ https://qiita.com/nrnrk/items/2711d5669d7674d6cc1a 5. ·ͱΊ + α 93
94