Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SLOのある生活を始めよう

 SLOのある生活を始めよう

More Decks by 株式会社ビットキー / Bitkey Inc.

Other Decks in Technology

Transcript

  1. - ݈શͳαʔϏεΛ໨ࢦͯ͠ - SLOͷ͋Δੜ׆Λ࢝ΊΑ͏

  2. ·ͩ SLO Λಋೖ͍ͯ͠ͳ͍ਓ޲͚ͷϙΠϯτ • SLO͕Կʹ໾ʹཱͭͷ͔ɺͲ͏΍ͬͯ SLO ͷ͋Δੜ׆Λ࢝ΊΕ͹ྑ͍͔ ◦ ۩ମతʹγϯϓϧʹ SLO

    Λಋೖ͢Δํ๏Λ঺հ
 ͢Ͱʹ SLO Λಋೖ͍ͯ͠Δਓ޲͚ͷϙΠϯτ • ࠷ޙͷํʹ੔ཧ͢ΔSLO ͷӡ༻Ͱಘͨ஌ݟͱࠓޙͷల๬ ◦ 1೥ؒͷӡ༻Ͱʮ͜͏ͨ͠ํ͕ྑ͔ͬͨʯ͜ͱͳͲΛڞ༗ 2 0. ൃදͷϙΠϯτ
  3. Outline 1. ࣗݾ঺հ/bitkey platform ͷ঺հ 2. platform ͱͯ͠ٻΊΒΕͨ͜ͱ 3. SLO

    ΛܾΊΑ͏ʂ 4. SLO Λӡ༻͠Α͏ʂ 5. ·ͱΊ + α 3 3
  4. ϏοτΩʔ΁ೖࣾ ࠷ॳͷ੡඼ϦϦʔεͱ΄΅ಉ࣌ظʹೖࣾ “ΧΪ” ͷϓϥοτϑΥʔϜ: bitkey platform ͷ։ൃΛ ୲౰( “Bitkey ϩάΠϯ”

    ػೳͷ։ൃͳͲ ) ERPϕϯμ΁ೖࣾ ERPͷձܭϞδϡʔϧ։ൃʹ഑ଐ ػೳͷఏҊɾઃܭɾ࣮૷Λ୲౰ ϞδϡʔϧશମͷCIͷ؅ཧΛ୲౰ ߴڮ యੜ Takahashi Noriki 2016 2017 2019 FinTech ܥελʔτΞοϓͰΠϯλʔϯγοϓ ӈ΋ࠨ΋Θ͔Βͳ͍ͳ͕Βɺe-Tax ͷϝοηʔδ֬ ೝػೳͳͲΛ࣮૷ ΤϯδχΞͱͯ͠ͷ࠷ॳͷҰา 2021 bitkey platform ͷ։ൃ/อकɾӡ༻ ࠷ॳͷϦϦʔε͔Β໿2೥ͨͬͨ bitkey platform Λ ΑΓ݈શͳαʔϏε։ൃΛܧଓͰ͖ΔΑ͏ʹฃಆத
  5. 1. ෯޿͘ར༻͞ΕΔplatform: bitkey platform 5 • homehub: ࣗ୐ͷΧΪ ◦ ྫ:

    bitkey platform Λར༻ͯ͠Ոͷ൶ͷσδλϧΩʔΛੜ੒ • workhub: ΦϑΟεͷΧΪ ◦ ྫ: bitkey platform Λར༻ͯ͠ΦϑΟεೖؗ༻ͷNFCΧʔυೝূͷͨΊͷ৘ใΛੜ੒ • exphub: ΠϕϯτͷΧΪ ◦ ྫ: bitkey platform Λར༻ͯ͠ϥΠϒ༻ͷإೝূͷͨΊͷ৘ใΛੜ੒ → ෯޿͘ར༻͞ΕΔ bitkey platform
  6. platform ͱͯ͠ٻΊΒΕͨ΋ͷ 6 6

  7. ෯޿͘࢖ΘΕΔ platform ʹٻΊΒΕͨ΋ͷ 7 7 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  8. ൚༻తͳػೳ܈ 8 8 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  9. ൚༻తͳػೳ܈ ͚ͩ͡Όͳ͍ 9 9 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  10. ൚༻తͳػೳ܈ ͚ͩ͡Όͳ͍ + ػೳͷܧଓతͳఏڙ(Մ༻ੑ) 10 10 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  11. ͭ·Γ 11 11 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  12. γεςϜ(platform)ͷ৔߹ “Մ༻ੑ͕௿͚Ε͹ੜ͖͍͚ͯͳ͍ɻ ػೳ͕ͳ͚Ε͹ੜ͖͍ͯ͘ࢿ͕֨ͳ͍ɻ” 12 12 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  13. ਓؒ(୳ఁ)ͷ৔߹ “ڧ͘ͳ͚Ε͹ੜ͖͍͚ͯͳ͍ɻ ༏͘͠ͳ͚Ε͹ੜ͖͍ͯ͘ࢿ͕֨ͳ͍ɻ” 13 13 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  14. ਓؒ(୳ఁ)ͷ৔߹ “ڧ͘ͳ͚Ε͹ੜ͖͍͚ͯͳ͍ɻ ༏͘͠ͳ͚Ε͹ੜ͖͍ͯ͘ࢿ͕֨ͳ͍ɻ” 14 14 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ by ϑΟϦοϓɾϚʔϩ΢

  15. ཁ͢Δʹ 15 15 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  16. Մ༻ੑͷͨΊͷอक։ൃ ػೳॆ࣮ͷͨΊͷػೳ։ൃ 16 16 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  17. Մ༻ੑͷͨΊͷอक։ൃ ػೳॆ࣮ͷͨΊͷػೳ։ൃ ྆ํͱ΋େࣄ 17 17 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  18. ͔͠͠ ྆ऀʹ͸τϨʔυΦϑͷؔ܎͕͋Δ 18 18 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  19. 19 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ ػೳ։ൃ อक ։ൃ

  20. ᶃ อक։ൃ͢Δ͕࣌ؒͳ͘ͳΔ ᶄ อकର৅૿Ճ & γεςϜͷෆ҆ఆԽ → อक։ൃͷඞཁੑͷ૿Ճ 20 2.

    platform ͱͯ͠ٻΊΒΕͨ΋ͷ ػೳ։ൃ อक ։ൃ
  21. ᶃ อक։ൃ͢Δ͕࣌ؒͳ͘ͳΔ ᶄ อकର৅૿Ճ & γεςϜͷෆ҆ఆԽ → อक։ൃͷඞཁੑͷ૿Ճ 21 2.

    platform ͱͯ͠ٻΊΒΕͨ΋ͷ ػೳ։ൃ อक ։ൃ
  22. όϥϯε͕औΓʹ͍͘ 22 22 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  23. όϥϯε͕औΕͳ͘ͳΔͱ... 23 23 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  24. 24 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ ػೳ։ൃ อक ։ൃ

  25. 25 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ ػೳ։ൃ อक ։ൃ • ΠϯγσϯτൃੜϦεΫ͕޲্ •

    Πϯγσϯτͷஹީ͕͔ͭΊͳ͍ • ΠϯγσϯτͷஹީΛ௫Μͩͱͯ͠΋ɺػೳ։ൃ͕༏ઌ͞Εͯ͠·͏
  26. 26 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ ػೳ։ൃ อक ։ൃ • ΠϯγσϯτൃੜϦεΫ͕޲্ •

    Πϯγσϯτͷஹީ͕͔ͭΊͳ͍ • ΠϯγσϯτͷஹީΛ௫Μͩͱͯ͠΋ɺػೳ։ൃ͕༏ઌ͞Εͯ͠·͏ → “ੜ͖͍͚ͯͳ͍”
  27. 27 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ อक։ൃ ػೳ ։ൃ

  28. 28 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ อक։ൃ ػೳ ։ൃ • ػೳ͕ग़ͯ͜ͳ͍

  29. 29 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ อक։ൃ ػೳ ։ൃ • ػೳ͕ग़ͯ͜ͳ͍ →

    “ੜ͖͍ͯ͘ࢿ͕֨ͳ͍”
  30. ྆ऀͷόϥϯεΛऔΔͨΊͷ”πʔϧ” 30 30 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  31. ྆ऀͷόϥϯεΛऔΔͨΊͷ“πʔϧ” SLO 31 31 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  32. SLO ͱ͸ 32 32 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  33. SLO(αʔϏεϨϕϧ໨ඪ) ͱ͸ • γεςϜͷ݈શੑͷ໨ඪج४ ◦ ݈શੑͷࢦඪͷྫ ▪ Քಇ཰(≒ Մ༻ੑ) ▪

    ύϑΥʔϚϯε ▪ … ◦ ͜ͷൃදͰ͸γϯϓϧʹ͢ΔͨΊʹɺओʹՄ༻ੑʹϑΥʔΧε ◦ ਓؒͰ͍͏ͱʮԿΛපؾͱ൑ఆ͢Δ͔ʯͷج४ͷΑ͏ͳ΋ͷ 33 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ
  34. SLO(αʔϏεϨϕϧ໨ඪ) ͱ͸ • γεςϜͷ݈શੑͷ໨ඪج४ ◦ ݈શੑͷࢦඪͷྫ ▪ Քಇ཰(≒ Մ༻ੑ) ▪

    ύϑΥʔϚϯε ▪ … ◦ ͜ͷൃදͰ͸γϯϓϧʹ͢ΔͨΊʹɺओʹՄ༻ੑʹϑΥʔΧε ◦ ਓؒͰ͍͏ͱʮԿΛපؾͱ൑ఆ͢Δ͔ʯͷج४ͷΑ͏ͳ΋ͷ 34 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ
  35. SLO ͷظ଴͞ΕΔޮՌ͸ʁ 35 35 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  36. ᶃ ϢʔβʔʹఏڙͰ͖Δ݈શੑͷظ଴஋ Λࣔ͢͜ͱ͕Ͱ͖Δɻ 36 36 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  37. ᶄ ػೳ։ൃͱอक։ൃͷόϥϯεͷج४Λ νʔϜ಺֎ͱೝࣝΛ߹ΘͤΔ ͜ͱ͕Ͱ͖Δɻ 37 37 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  38. SLO ͱ͍͏ “πʔϧ” Λ Ͳ͏΍ͬͯ࢖͍͜ͳ͢ͷʁ 38 38 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  39. ᶃ ·ͣ SLO(໨ඪ) ΛܾΊͯ ᶄ ϧʔϧʹଇͬͯӡ༻͢Δ 39 39 2. platform

    ͱͯ͠ٻΊΒΕͨ΋ͷ
  40. ·ͣ͸ܾΊΔͱ͜Ζ͔Β 40 40 2. platform ͱͯ͠ٻΊΒΕͨ΋ͷ

  41. SLO ΛܾΊΑ͏ʂ 41 41

  42. ʮΑ͠ɺ͡Ό͋৭ʑௐ΂ܾͯΊΔͧʯ 42 42 3. SLO ΛܾΊΑ͏ʂ

  43. ʮϏδωε্ͷΠϯύΫτͱରԠ͍ͯ͠ͳ͚Ε͹ͳΒͳ͍...ʯ ʮSLO ͸Մ༻ੑ͚ͩ͡Όͳ͘...ʯ ʮError Budget ͸௨ৗͷ༧ࢉͱߟ͑ͯ͸͍͚ͳ͍ͷͰ͋ͬͯ...ʯ ʮ·ͣɺSLI ͕͋ͬͯɺͦͯ͠ɺSLA ͱ SLO

    ͸ҧ͍ͬͯͯ...ʯ ʮxxx ͳͷ͸ SLO ͱ͸͍͑ͳ͍ʯ ʮ໺৺తSLO ͱ͍͏ߟ͑ํ΋͋Γ...ʯ 43 43 3. SLO ΛܾΊΑ͏ʂ
  44. ʮΉɺ೉͍͠...ʯ 44 44 3. SLO ΛܾΊΑ͏ʂ

  45. ʮSLO࡞Δࣗ৴͕ͳ͘ͳ͖ͬͯͨ...ʯ 45 45 3. SLO ΛܾΊΑ͏ʂ

  46. ʮ͏ͪͷνʔϜʹ͸ɺ·ͩྑ͍͔ͳʯ 46 46 3. SLO ΛܾΊΑ͏ʂ

  47. ཱͪࢭ·Δͷ͸·ͩૣ͍ 47 47 3. SLO ΛܾΊΑ͏ʂ

  48. ࠔͬͨͱ͖ͷ࠷ॳͷҰา 48 48 3. SLO ΛܾΊΑ͏ʂ

  49. ࠔͬͨͱ͖ͷ࠷ॳͷҰา → Մ༻ੑͷSLOΛ·ͣઃఆ͢Δ 49 49 3. SLO ΛܾΊΑ͏ʂ

  50. SLO ΛܾΊΔͨΊͷཁૉ ᶃ ࢦඪ ᶄ ج४ ᶅ ظؒ 50 50

    3. SLO ΛܾΊΑ͏ʂ
  51. ᶃ ࢦඪ 51 51 3. SLO ΛܾΊΑ͏ʂ

  52. Մ༻ੑ 52 52 3. SLO ΛܾΊΑ͏ʂ

  53. Մ༻ੑͬͯͲ͏΍ͬͯఆٛ͢Ε͹... 53 53 3. SLO ΛܾΊΑ͏ʂ

  54. Մ༻ੑͬͯͲ͏΍ͬͯఆٛ͢Ε͹... 54 54 3. SLO ΛܾΊΑ͏ʂ

  55. Web ͳΒ͜ΕͰOK 2xx Ϩεϙϯε / (2xx + 5xx)Ϩεϙϯε 55 55

    3. SLO ΛܾΊΑ͏ʂ
  56. ᶄ ج४ 56 56 3. SLO ΛܾΊΑ͏ʂ

  57. 99.99%? 99.9% Ͱे෼ʁ Ϗδωε্ͷΠϯύΫτͲ͏ͩΖ͏... 57 57 3. SLO ΛܾΊΑ͏ʂ

  58. 99.99%? 99.9% Ͱे෼ʁ Ϗδωε্ͷΠϯύΫτͲ͏ͩΖ͏... 58 58 3. SLO ΛܾΊΑ͏ʂ

  59. ໎͏ͳΒ 99% ͰܾΊଧͪͰOKʂ 59 59 3. SLO ΛܾΊΑ͏ʂ

  60. ᶅ ظؒ 60 60 3. SLO ΛܾΊΑ͏ʂ

  61. ࢛൒ظͰ͍͜͏ʂ 61 61 3. SLO ΛܾΊΑ͏ʂ

  62. SLO ΛܾΊΔͨΊͷཁૉ ᶃ ࢦඪ: Մ༻ੑ(= 2xx ͷׂ߹) ᶄ ج४: 99%

    ᶅ ظؒ: ࢛൒ظ 62 62 3. SLO ΛܾΊΑ͏ʂ
  63. SLO ͕ܾ·ͬͨʂ 63 63 3. SLO ΛܾΊΑ͏ʂ

  64. SLO ͕ܾ·ͬͨʂ 64 64 3. SLO ΛܾΊΑ͏ʂ

  65. SLO ͷࢦඪ΋ ࢉग़Ͱ͖ΔΑ͏ʹ͓ͯ͜͠͏ 65 65 3. SLO ΛܾΊΑ͏ʂ

  66. Մ༻ੑͷࢦඪͷࢉग़ํ๏ 66 66 3. SLO ΛܾΊΑ͏ʂ

  67. Մ༻ੑͷࢦඪͷࢉग़ํ๏ ᶃ ϨεϙϯεͷϩάΛు͖ग़͢Α͏ʹΞϓϦέʔγϣϯʹઃఆ • HTTP ͷεςʔλείʔυ͕Θ͔ΔΑ͏ʹ͓͚ͯ͠͹े෼ ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ •

    ूܭύλʔϯ ◦ [ຖ೔] ௚ۙ7೔ؒ෼Λूܭ → ࠷ۙͷ݈શੑ͕Θ͔Δ ◦ [࢛൒ظ͝ͱ] ࢛൒ظશମΛूܭ → SLO ͷ“݁Ռ”͕Θ͔Δ 67 3. SLO ΛܾΊΑ͏ʂ
  68. Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶃ ϨεϙϯεͷϩάΛు͖ग़͢Α͏ʹΞϓϦέʔγϣϯʹઃఆ • Cloud Load Balancing ར༻ͳΒɺCloud Logging Ͱඪ४Ͱग़͍ͯΔͷͰ௥Ճͷઃఆෆཁ

    ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • Cloud Logging → Cloud Monitoring ͷ࿈ܞͰ࣮ݱՄೳ 68 3. SLO ΛܾΊΑ͏ʂ Monitoring Cloud Load
 Balancing Logging
  69. Մ༻ੑͷࢦඪͷࢉग़ํ๏(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. ೝূɾ४උ 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. αʔϏεͷ࡞੒ 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

  72. 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

  73. 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

  74. 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

  75. 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`
  76. Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • Cloud Logging → Cloud Monitoring

    ͷ࿈ܞͰ࣮ݱՄೳ • Cloud Monitoring > αʔϏε 76 3. SLO ΛܾΊΑ͏ʂ
  77. Մ༻ੑͷࢦඪͷࢉग़ํ๏(GCPͷҰྫ) ᶄ ϩάΛूܭͯ͠ɺՄ༻ੑ Λܭࢉ • Cloud Logging → Cloud Monitoring

    ͷ࿈ܞͰ࣮ݱՄೳ • Cloud Monitoring > αʔϏε 77 3. SLO ΛܾΊΑ͏ʂ
  78. ʮΉΉɺ·ͨԿ͔େมͦ͏ͩͳʯ 78 78 3. SLO ΛܾΊΑ͏ʂ

  79. ʮΉΉɺ·ͨԿ͔େมͦ͏ͩͳʯ 79 79 3. SLO ΛܾΊΑ͏ʂ

  80. ίϚϯυ࡞͓͖ͬͯ·ͨ͠ 80 80 3. SLO ΛܾΊΑ͏ʂ

  81. https://github.com/nrnrk/gcp-slo-create 81 81 3. SLO ΛܾΊΑ͏ʂ

  82. ͳʹ͸ͱ΋͋Ε 82 82 3. SLO ΛܾΊΑ͏ʂ

  83. SLO ͷࢦඪͷ࣮੷஋͕औΕͨʂ 83 83 3. SLO ΛܾΊΑ͏ʂ

  84. SLO ͷࢦඪͷ࣮੷஋͕औΕͨʂ 84 84 3. SLO ΛܾΊΑ͏ʂ

  85. ࣍͸ɺSLO ͱ࣮੷஋Ͱӡ༻͠Α͏ʂ 85 85 3. SLO ΛܾΊΑ͏ʂ

  86. SLO Λӡ༻͠Α͏ʂ 86 86

  87. ᶃ SLO ʹج͍ͮͨߦಈ • ఆΊͨSLOʹج͍ͮͯߦಈ͢Δ ◦ SLO ʹҧ൓͍ͯ͠ͳ͍͜ͱΛ֬ೝ͢Δ ◦ SLO

    ʹҧ൓ͨ͠৔߹ʹΞΫγϣϯΛऔΔ • ຖ೔ ᶄ SLO ࣗମͷৼΓฦΓ& ߋ৽ • ఆΊͨSLOࣗମΛৼΓฦΓɺߋ৽͢Δ ◦ SLO ͸ߴ͗͢ͳ͍͔௿͗͢ͳ͍͔ ◦ SLO ͕࣮ࡍͷϢʔβʔͷظ଴஋ͱ߹͍ͬͯΔ͔ • ࢛൒ظʹ1ճ 4. SLO Λӡ༻͠Α͏ʂ 87
  88. ᶃ SLO ʹج͍ͮͨߦಈ ຖ೔΍Δ͜ͱ • SLO ʹҧ൓͍ͯ͠ͳ͍͔ΛνΣοΫ • νʔϜͷσΠϦʔMTGͰͷ࣮ࢪ͕͓͢͢Ί ۓٸ࣌ͷ४උ

    • SLO ʹҧ൓͍ͯͨ͠Βɺػೳ։ൃͳͲΛͱΊͯҧ൓ͷղফΛ࠷༏ઌʹ͢Δ • νʔϜͷ໿ଋࣄʹ͓ͯ͘͠ 4. SLO Λӡ༻͠Α͏ʂ 88
  89. ᶄ SLO ࣗମͷৼΓฦΓ& ߋ৽ • SLO ࣗମͱӡ༻ํ๏ΛৼΓฦΔ ◦ ࢛൒ظʹ1ճ ◦

    ϙΠϯτ ▪ ظؒதSLO ͸ୡ੒Ͱ͖͔ͨʁ ▪ SLO ͸ߴ͗͢ͳ͍͔ʁ௿͗͢ͳ͍͔ʁ ▪ SLO ͷӡ༻͕Ϣʔβʔͷຬ଍౓ͱਖ਼͘͠ରԠ͍ͯ͠Δ͔ʁ ▪ ࢦඪ͸ద੾͔ʁ • ৼΓฦΓΛجʹ࣍ͷSLOΛઃఆ ◦ ໨ඪΛ্͛ΔɾԼ͛Δ / ࢦඪΛ௥Ճɾ࡟আͳͲ ʮͱΓ͋͑ͣɺՄ༻ੑΛʯͱ࢝Ίͨஈ֊͔ΒঃʑʹϨϕϧΞοϓ͍ͯ͘͜͠ͱ͕Ͱ͖Δ 4. SLO Λӡ༻͠Α͏ʂ 89
  90. 1೥ؒͷӡ༻ͯ͠ಘͨ஌ݟ • ϦΫΤετ਺͕গͳ͍ঢ়ଶͰɺՄ༻ੑͷSLOͷج४Λ্͛͗ͯ͢͸͍͚ͳ͍ʂ ◦ ۃ୺ʹ͍͏ͱɺ1ݸΤϥʔ͕ى͖ͨΒ SLO ҧ൓ʹͳͬͯ͠·͏ ◦ ϦΫΤετ͕গͳ͍ঢ়ଶͰ͸ɺ99.9% →

    99.99% Ͱ͸ରͯ͠ຬ଍౓͸্͕Βͳ͍ • ಛʹࢦඪͷ஋ΛԼ͛Δ͜ͱ͕Θ͔͍ͬͯΔಛఆͷΤϯυϙΠϯτ͸ࠞͥͳ͍ʂ ◦ ಛఆͷΤϯυϙΠϯτ͕ୟ͔ΕΔස౓ͱSLOҧ൓͕௚઀తʹඥͮ͘ → ੍ޚͰ͖ͳ͍ • 4xx Τϥʔ͸Մ༻ੑͷࢦඪʹೖΕͳ͍ʂ ◦ 4xx Τϥʔ͸ฦ͠΍͍͢ͷͰɺ࣮ଶΑΓࢦඪ͕ߴ͘ग़Δ • rate limit (ΞΫηεͷྲྀྔ੍ݶ) Ͱ SLO ͸ΑΓ੍ޚ͠΍͘͢ͳΔʂ ◦ ࣾ಺αʔϏε͔ΒͷΞΫηεํ๏ʹΑͬͯɺࢦඪ͕ӨڹΛड͚΍͍͢ঢ়ଶΛආ͚Δ 4. SLO Λӡ༻͠Α͏ʂ 90
  91. ࣍ͷεςοϓ • PMF(Product Market Fit) ͷਪਐ ◦ bitkey platform →

    ࣾ಺ผαʔϏε → ΤϯυϢʔβʔ ͱ͍͏ܗʹͳΔͷͰɺΤϯυϢʔβʔͷ ຬ଍౓ͱ bitkey platform ͰऔΕΔࢦඪ(Մ༻ੑɾϨΠςϯγͳͲ)ΛରԠ෇͚͕೉͍͠ ◦ Մ༻ੑɾϨΠςϯγʹՃ͑ͯɺඞཁʹԠͯ͡ࢦඪͷ௥ՃɾվྑΛ࣮ࢪ༧ఆ 4. SLO Λӡ༻͠Α͏ʂ 91
  92. ·ͱΊ + α 92 92

  93. SLO ͷޮ༻ • ػೳ։ൃɾอक։ൃ(΍ӡ༻)ͷόϥϯεΛνʔϜ಺֎ͱೝࣝΛ߹ΘͤΒΕΔ • ӡ༻Λϧʔϧʹ͢Δ͜ͱͰɺଐਓԽΛ๷͗ɺνʔϜͱ݈ͯ͠શͳαʔϏε։ൃ͕Ͱ͖Δ SLO ͷ͋Δੜ׆ • ·ͣ͸ઃఆ͢Δ͜ͱ͔Β΍Δͱ͸͡Ί΍͍͢

    ◦ ໎ͬͨΒԿ΋ߟ͑ͣՄ༻ੑ99%͔Β࢝ΊΕ͹ྑ͍ ͓·͚ • SLOಋೖޙʹ᷿ͷهࣄΛݺΜͰৼΓฦΓʹ׆͔͢͜ͱͰਐԽͤ͞Δ͜ͱ͕Ͱ͖Δ • ൃදऀ΋Qiita ʹ SLO ҧ൓ࣗମΛҰఆͷ༏ઌॱҐΛकΓͭͭɺݮΒ͢ࢪࡦʹ͍ͭͯॻ͖·ͨ͠ ◦ https://qiita.com/nrnrk/items/2711d5669d7674d6cc1a 5. ·ͱΊ + α 93
  94. 94