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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
株式会社ビットキー / 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
Transcript
94 slides
- ݈શͳαʔϏεΛࢦͯ͠ - 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
More Decks by 株式会社ビットキー / Bitkey Inc.
See All by 株式会社ビットキー / Bitkey Inc.
デザイナーとして体験を磨き込むためのエンジニアリング / Engineering as a Designer: Polishing the Experience
bitkey
PRO
0
34
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
200
関数型ドメインモデリングの理想と現実 / Domain Modeling Made Functional: Ideals vs. Reality
bitkey
PRO
0
150
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
340
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
510
Swift&Xcodeのバージョンアップにまつわる怖かった思い出 / Scary Memories of Swift and Xcode Updates
bitkey
PRO
0
250
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
700
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
650
失敗を経て、Harness Engineering で 大切にしたいことを考える / Learning from Failure: What Matters in Harness Engineering
bitkey
PRO
1
720
Other Decks in Technology
See All in Technology
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
440
Context parameters で作る!はじめての型クラス
kworkdev
PRO
0
110
Claude Securityを使ってみた / claude-security-claude-code-meetup-nagoya
tnir
0
130
狙われているAPIの脆弱性!今こそ手をつけるべき根本的な対策とは?
nagix
0
140
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
150
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
450
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
180
【Oracle AI SPOTLIGHT ウェビナー】【特別開催:日本語で解説!】Oracle AI World 2026 最新情報フィードバック
oracle4engineer
PRO
1
240
AIネイティブ組織の作り方。1人のPOとAIから始める、自社での実験
ama_ch
2
1k
Where Should Platform Complexity Live? Lessons from a Cross-Team PR Preview Platform
taiki45
0
110
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
150
並列度を下げたら速くなった — go build の重複コンパイルを実測で見る
tomoaki25
2
1.3k
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Test your architecture with Archunit
thirion
2
2.5k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
840
Google's AI Overviews - The New Search
badams
0
1.7k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Skip the Path - Find Your Career Trail
mkilby
1
290
GraphQLとの向き合い方2022年版
quramy
50
15k