System Design · Module 13
Observability, incidents and safe deployments
- Lessons
- 15
- Free
- 0
- Reading
- ~5 h
Your progress
0 / 15 lessons done
Sign in to trackLessons
- Observability: logs, metrics and tracesProduction failures often leave servers running and requests partly successful. You need evidence that connects a customer’s symptom to the work inside your services.
- RED and USE methods: choosing what to measureA dashboard can show healthy servers while customers cannot complete checkout. These methods help you choose measurements that reveal both the customer-facing problem and the resource constraints behind it.
- SLOs and error budgets: defining reliability targetsTeams need a shared rule for deciding when reliability work should take priority over new features. SLOs make that rule measurable, and error budgets connect it to release decisions.
- Alerting: signals worth paging forAn alert spends someone’s attention. Good alerting interrupts the right person early enough to reduce harm, with enough context to act.
- Incident response: from detection to resolutionDuring an outage, technical debugging competes with coordination and customer communication. A repeatable response helps you restore service without introducing conflicting changes or overlooking unfinished customer operations.
- Post-mortems: learning from failuresRestoring service leaves unanswered questions about why it failed and what remains unsafe. A post-mortem turns those questions into engineering work that can be checked.
- Deployment strategies: canary and blue-greenA successful process start does not prove a release works for customers. Deployment strategies control who encounters a change and how you stop exposing people when it fails.
- Feature flags: separating deploy from releaseFeature flags let you change exposure without replacing application code. They also introduce another source of production state that you must test, observe and eventually remove.
- Database migrations: avoiding downtime and data lossA database change affects running applications, background workers and rollback options. Safe migrations coordinate those consumers without stopping customer traffic or losing concurrent writes.
- Strangler pattern: moving reads off a monolithReplacing a busy system rarely happens in one release. Engineers need a way to move useful behavior gradually without losing correctness, compatibility or a recovery path.
- Backups and restore testingA backup job can succeed even when your service cannot recover. Engineers need evidence that saved data can become a working application within an agreed time.
- Data retention and user data deletionDeleting an account affects databases, caches, exports, logs and backups. Engineers need a process that removes the intended data without breaking recovery or claiming more than the system has verified.
- Case: GitLab’s 2017 database outageA standby and scheduled backups can create confidence without proving recovery works. This case shows how to inspect the whole recovery path before an incident forces you to depend on it.
- Design: monitoring and SLOs for a serviceA service can look healthy while customers cannot use it. Engineers need monitoring that detects customer impact, identifies missing evidence and leads to a useful recovery action.
- Design: migrating a production databaseMoving a database changes where applications find their durable state. A safe migration must account for concurrent writes, stale connections, retries and the moment rollback stops being a routing change.
Practise with
Terms this module teaches 36
Open glossaryAlert deduplication
Recognising repeated notifications for the same alert so they update an existing incident instead of creating another.
Anti-corruption layer
A translation boundary that prevents one system’s data representations and semantics from spreading into another.
Base backup
A starting copy of database files that can be combined with required change records during recovery.
Blue-green deployment
A deployment approach that prepares a separate replacement environment and changes which environment receives production traffic.
Burn rate
The observed bad-event fraction divided by the bad-event fraction allowed by an SLO.
Canary deployment
A release process that exposes a limited production population to a change and evaluates its behavior before increasing exposure.
Cohort
A group of subjects assigned together for a rollout or experiment.
Contributing condition
A circumstance that helps explain why a trigger produced an incident or increased its impact.
Cryptographic erasure (crypto-shredding)
Making encrypted data unreadable by destroying all usable copies of the keys needed to decrypt it.
Data retention
A policy defining why data is kept, when its retention clock starts, and when it must be removed or reviewed.
Deletion barrier
A minimal durable record used to prevent deleted subject data from being recreated by later processing or restoration.
Feature flag
A runtime decision that selects application behavior independently of deploying the code that implements it.
Histogram
A representation of a distribution using counts of observations in value ranges.
Incident
A situation that needs coordinated action to prevent or reduce harm to customers or the business.
Incident commander
The person who coordinates an incident response, assigns responsibilities and keeps a shared view of impact and priorities.
Incident trigger
The event that starts a particular occurrence of a failure.
Metric
A numerical measurement of system behavior, often aggregated over events or recorded repeatedly over time.
Metric cardinality
The number of distinct label combinations represented by a metric.
Migration barrier
A committed marker used to identify a final replication boundary after application writes have drained.
Mitigation
An action that reduces current harm without necessarily removing the underlying defect.
Observability
Having enough evidence from a running system to investigate and explain its behavior.
Point-in-time recovery
Reconstructing a database to a selected earlier state using a backup and retained change records.
Post-mortem
A written incident review that records impact, evidence, contributing conditions, recovery and follow-up work.
Recovery point objective
The maximum acceptable gap between a failure and the committed data that can be recovered.
Recovery time objective
The target maximum time from a defined disruption boundary until the service is usable again.
RED method
A method for examining request-serving systems through request rate, failed requests and request duration.
Resource saturation
Extra work that a resource cannot serve immediately, often visible as waiting work.
Rolling deployment
A deployment approach that replaces old application instances with new ones in batches rather than replacing all instances together.
Rolling window
An evaluation interval that advances with the evaluation time, adding recent observations and removing older ones.
Runbook
A short operational procedure describing how to investigate a known symptom, take safe actions and verify the result.
Shadow read
A duplicate read sent to an alternative implementation for observation without returning its response to the caller.
Span
A timed operation in a trace, with its own identity and a relationship to other operations.
Strangler pattern
An incremental replacement approach in which selected behavior moves to a new implementation while the existing system continues serving the rest.
Synthetic monitoring
Running controlled requests through a system to check a chosen user journey without waiting for real customer traffic.
USE method
A method for checking each resource’s utilization, saturation and errors during a performance investigation.
Write fence
An enforced boundary that prevents an old application path from committing writes after ownership is being transferred.