Obiettivi del livello di servizio e budget degli errori
Scopra come i team SaaS definiscono l'affidabilità con SLA, SLO e SLI e usano i budget degli errori per bilanciare la velocità di rilascio e la stabilità.
Obiettivi del livello di servizio e budget degli errori è una lezione SaaS Architecture & Startup Engineering gratuita su CoddyKit. Questa è la lezione 4 di 4. Puoi leggere la lezione completa qui gratuitamente — poi esercitati direttamente nel browser con un editor di codice integrato e un tutor IA disponibile 24/7. Fa parte del percorso di apprendimento SaaS Architecture & Startup Engineering, e i tuoi progressi si sincronizzano tra il web e l'app CoddyKit. Il corso SaaS Architecture & Startup Engineering include 4 lezioni in totale.
Parti di questa lezione non sono ancora state tradotte e vengono mostrate in inglese.
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.
Impara SaaS Architecture & Startup Engineering con un tutor IA — gratis
Scrivi ed esegui vero codice nel tuo browser, ricevi aiuto istantaneo da un tutor IA disponibile 24/7, e riprendi da dove hai lasciato sul web o nell'app.
- Corsi
- 12
- Lezioni
- 48
Domande Frequenti
La lezione «Obiettivi del livello di servizio e budget degli errori» è gratuita?
Sì — il testo completo di «Obiettivi del livello di servizio e budget degli errori» è gratuito qui sul web. Per esercitarvi in modo interattivo (un editor di codice integrato e un tutor IA 24/7) e sbloccare il resto del corso SaaS Architecture & Startup Engineering, passa a CoddyKit PRO. Il corso SaaS Architecture & Startup Engineering include 4 lezioni in totale.
Cosa imparerò in «Obiettivi del livello di servizio e budget degli errori»?
Scopra come i team SaaS definiscono l'affidabilità con SLA, SLO e SLI e usano i budget degli errori per bilanciare la velocità di rilascio e la stabilità. Eserciti SaaS Architecture & Startup Engineering con codice pratico che esegui direttamente nel browser, e un tutor IA 24/7 risponde alle tue domande mentre lavori sulla lezione.
Ho bisogno di esperienza per iniziare SaaS Architecture & Startup Engineering?
Non è richiesta alcuna esperienza precedente. SaaS Architecture & Startup Engineering su CoddyKit è strutturato per principianti e studenti avanzati, quindi puoi iniziare da qui o dall'inizio e procedere al tuo ritmo. Questa è la lezione 4 di 4.
Quanto tempo richiede la lezione «Obiettivi del livello di servizio e budget degli errori»?
La maggior parte delle lezioni CoddyKit richiede circa 5–10 minuti. Ogni lezione è breve e interattiva, quindi fai progressi costanti e riprendi esattamente da dove hai lasciato su web e app.
Posso scrivere ed eseguire codice in questa lezione SaaS Architecture & Startup Engineering?
Sì. Ogni lezione SaaS Architecture & Startup Engineering include un editor di codice integrato, quindi scrivi ed esegui codice reale direttamente nel tuo browser e ricevi feedback istantaneo dall'IA — nessuna configurazione locale necessaria.
Tutte le lezioni di questo corso
- Alta disponibilità e disaster recovery
- Sistemi di monitoraggio e alerting
- Logging e distributed tracing
- Obiettivi del livello di servizio e budget degli errori