← Labs

Write reliability functions in Go, TypeScript, or Python.

Each exercise is one function from the tooling around a production service, such as the filter behind a fleet health page, a latency percentile, a retry schedule, or the check that stops an unsafe deploy. The same tests run in your browser in each language, and an exercise counts once its full suite passes.

0 / 36

Passed in Python on this device

Continue practice →
  1. 1. Fleet health0 of 3 passed in Python
  2. 2. Signals0 of 12 passed in Python
  3. 3. Automation0 of 8 passed in Python
  4. 4. Reliability algorithms0 of 10 passed in Python
  5. 5. Safe delivery0 of 3 passed in Python

Fleet health

0 of 3 passed

  1. ○Unhealthy instancesget_unhealthy_instances
  2. ○Unhealthy instances, partly writtenget_unhealthy_instances
  3. ○Unhealthy instances, with a bugget_unhealthy_instances

Signals

0 of 12 passed

  1. ○HTTP status countscount_statuses
  2. ○Services ranked by failuresrank_errors
  3. ○A latency percentilepercentile
  4. ○Failures in a rolling windowwindow_errors
  5. ○Error budget leftremaining_budget
  6. ○Missing heartbeatsheartbeat_gaps
  7. ○Status class counts, partly writtencount_statuses
  8. ○Status class counts, with a bugcount_statuses
  9. ○Remaining error budget, partly writtenremaining_budget
  10. ○Remaining error budget, with a bugremaining_budget
  11. ○Heartbeat gaps, partly writtenheartbeat_gaps
  12. ○Heartbeat gaps, with a bugheartbeat_gaps

Automation

0 of 8 passed

  1. ○Configuration driftconfig_drift
  2. ○Duplicate webhook deliveriesunique_events
  3. ○Keys on shardsroute_keys
  4. ○Rollout batchesrollout_batches
  5. ○Hosts low on diskpressured_disks
  6. ○Secrets in a structured logredact
  7. ○Secret redaction, partly writtenredact
  8. ○Secret redaction, with a bugredact

Reliability algorithms

0 of 10 passed

  1. ○Capped retry delaysretry_delays
  2. ○A token bucketadmit_requests
  3. ○When the circuit opensopening_index
  4. ○Overlapping maintenance windowsmerge_windows
  5. ○Service startup orderstartup_order
  6. ○Peak work in flightpeak_concurrency
  7. ○Retry delays, partly writtenretry_delays
  8. ○Retry delays, with a bugretry_delays
  9. ○Failure streak opening, partly writtenopening_index
  10. ○Failure streak opening, with a bugopening_index

Safe delivery

0 of 3 passed

  1. ○A deploy that should stopaudit_deployments
  2. ○A deploy check, partly writtenaudit_deployments
  3. ○A deploy check, with a bugaudit_deployments