サービスレベル目標とエラーバジェット
SaaSチームがSLA、SLO、SLIで信頼性を定義し、エラーバジェットを使ってリリース速度と安定性のバランスを取る方法を学びます。
「サービスレベル目標とエラーバジェット」はCoddyKit上の無料SaaS Architecture & Startup Engineeringレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはSaaS Architecture & Startup Engineering学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 SaaS Architecture & Startup Engineeringコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Defining Reliability
Reliability cannot be improved if it is not measured. SaaS teams use a vocabulary of three terms: SLI, SLO, and SLA.
Together they turn 'the system should be up' into precise, trackable targets.
Service Level Indicator (SLI)
An SLI is a measured value describing service quality, such as:
- Request success rate
- Latency (95th percentile response time)
- Availability (uptime percentage)
SLIs are the raw signals you collect.
Service Level Objective (SLO)
An SLO is the target you set for an SLI, for example: '99.9% of requests succeed over 30 days.'
SLOs are internal goals that guide engineering decisions.
Service Level Agreement (SLA)
An SLA is a contractual promise to customers, often with financial penalties if missed. SLAs are usually looser than internal SLOs.
If your SLA is 99.9%, your internal SLO might be 99.95% to give yourself a safety margin.
Understanding the Nines
Availability is often expressed in nines. More nines means less allowed downtime:
- 99% = ~3.65 days/year
- 99.9% = ~8.76 hours/year
- 99.99% = ~52 minutes/year
Computing Availability
Availability is uptime divided by total time. Here is a small calculation of allowed downtime for a target.
const minutesPerMonth = 30 * 24 * 60;
const slo = 0.999; // 99.9%
const allowedDowntime = minutesPerMonth * (1 - slo);
console.log('Allowed downtime:', allowedDowntime.toFixed(1), 'min/month');The Error Budget
The error budget is the allowed amount of unreliability: 100% minus your SLO. A 99.9% SLO gives a 0.1% error budget.
This budget is something you can spend on risk, deployments, and experiments.
Spending the Budget
Error budgets balance two forces:
- Velocity — ship features fast, accept some risk
- Stability — slow down, protect reliability
If the budget is healthy, ship boldly. If it is exhausted, freeze risky changes and focus on hardening.
Choosing Good SLOs
SLOs should reflect what users actually care about. Chasing 100% is wasteful and impossible.
Set SLOs slightly above the level where users start to notice and complain. Over-engineering reliability beyond that wastes money.
Burn Rate Alerts
Instead of alerting on every blip, mature teams alert on burn rate — how fast the error budget is being consumed.
A fast burn (budget gone in hours) pages immediately; a slow burn (budget trends over days) creates a ticket. This reduces alert fatigue.
SLOs in Practice
SLOs are reviewed regularly. If you consistently beat them, tighten them or invest budget in faster shipping. If you miss them, prioritize reliability work.
This data-driven loop keeps reliability decisions objective rather than emotional.
Quick Check
Test your reliability concepts.
Recap
You learned to define and manage reliability:
- SLI measures, SLO targets, SLA promises
- Nines map to concrete downtime budgets
- Error budgets and burn-rate alerts balance velocity against stability
These turn reliability into a measurable, negotiable resource.
よくある質問
「サービスレベル目標とエラーバジェット」レッスンは無料ですか?
はい。「サービスレベル目標とエラーバジェット」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、SaaS Architecture & Startup Engineeringコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 SaaS Architecture & Startup Engineeringコースには全4レッスンが含まれています。
「サービスレベル目標とエラーバジェット」で何を学びますか?
SaaSチームがSLA、SLO、SLIで信頼性を定義し、エラーバジェットを使ってリリース速度と安定性のバランスを取る方法を学びます。 ブラウザで直接実行するハンズオンコードでSaaS Architecture & Startup Engineeringを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
SaaS Architecture & Startup Engineeringを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのSaaS Architecture & Startup Engineeringは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。
「サービスレベル目標とエラーバジェット」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このSaaS Architecture & Startup Engineeringレッスンでコードを書いて実行できますか?
はい。すべてのSaaS Architecture & Startup Engineeringレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- 高可用性とディザスタリカバリ
- 監視とアラートのシステム
- ロギングと分散トレーシング
- サービスレベル目標とエラーバジェット