---
title: "Resilience"
description: "Retries, timeouts, backpressure, load shedding, graceful degradation"
url: "https://swe.quest/tags/resilience?per=48"
---

# Resilience

Topic in Distributed systems: Retries, timeouts, backpressure, load shedding, graceful degradation

By difficulty: [Easy](https://swe.quest/tags/resilience.md?difficulty=easy) · [Medium](https://swe.quest/tags/resilience.md?difficulty=medium) · [Hard](https://swe.quest/tags/resilience.md?difficulty=hard)

Posts 1–48 of 179, page 1 of 4, newest first.

## 2026-11-27

- [September 29 Outage Incident Report: What we learnt](https://swe.quest/articles/september-29-outage-incident-report-what-we-learnt-224e248e50621624.md): Spotify Engineering · 2026-11-27 · Medium · 4 min read · Incidents & postmortems, Deployment, Kubernetes, Resilience, Observability
  Two independently tested deployment-system changes conflicted, causing Argo CD to repeatedly overwrite autoscaler-managed minReplicas for services that used Argo Rollouts and had test environments.

## 2026-11-24

- [Idempotency when you don't control the other end](https://swe.quest/articles/idempotency-when-you-don-t-control-the-other-end-087a9556ed7e0055.md): Stack Overflow Blog · 2026-11-24 · Medium · 10 min read · API design, Resilience, Distributed systems, Payments & fintech
  When an accounting or ERP API offers no idempotency key, a timed-out write leaves the caller unable to tell whether entries were booked, and the usual workarounds each fail in practice.
- [A Reboot Is Still a Deployment](https://swe.quest/articles/a-reboot-is-still-a-deployment-96583400c784f5bf.md): Stack Overflow Blog · 2026-11-24 · Medium · 9 min read · Deployment, Linux, Resilience, SRE, Queues & messaging
  Host reboots for kernel updates should be verified like deployments: by a completed representative job on the returning host, not by a process or unit showing up.

## 2026-11-20

- [Configure HikariCP for Spring Boot on Red Hat OpenShift 4](https://swe.quest/articles/configure-hikaricp-for-spring-boot-on-red-hat-openshift-4-3a25ad3cfb278c99.md): Red Hat Developer · 2026-11-20 · Medium · 9 min read · Java & JVM, Databases, Kubernetes, Resilience, Debugging
  HikariCP's default settings can leave Spring Boot apps on OpenShift 4 with exhausted or hung database connections.

## 2026-11-19

- [Detect, act, keep the evidence: node reliability across three clouds](https://swe.quest/articles/detect-act-keep-the-evidence-node-reliability-across-three-clouds-325dce2a6ee99e58.md): ClickHouse · 2026-11-19 · Medium · 14 min read · Kubernetes, SRE, Resilience, Cloud platforms, Observability
  ClickHouse Cloud owns node-failure detection and reaction itself across AWS, GCP and Azure, because many real failures leave Kubernetes nodes Ready while workloads degrade.

## 2026-11-18

- [Resilience testing your agents on Amazon Bedrock AgentCore](https://swe.quest/articles/resilience-testing-your-agents-on-amazon-bedrock-agentcore-76ec5d1f5931c6f8.md): AWS Architecture Blog · 2026-11-18 · Medium · 11 min read · Chaos engineering, AI agents, Resilience, Observability, Cloud platforms
  AWS Fault Injection Service can drive tool-level faults inside a Strands agent running on Amazon Bedrock AgentCore, using an SSM Automation action that toggles chaos parameters in Parameter Store.
- [How a shared merchant data service can degrade gracefully](https://swe.quest/articles/how-a-shared-merchant-data-service-can-degrade-gracefully-8de99a9e03ed71ec.md): Grab Engineering · 2026-11-18 · Medium · 10 min read · Resilience, Caching, System design, SRE, Databases
  Grab's merchant data service suffered a cascading failure when cache read timeouts fell back to the database, retries piled on, and availability collapsed.

## 2026-11-17

- [Netmap caching: keeping Tailscale up on iffy connections](https://swe.quest/articles/netmap-caching-keeping-tailscale-up-on-iffy-connections-e5d2ceccabbc06ea.md): Tailscale · 2026-11-17 · Medium · 11 min read · Networking, Resilience, Caching, Distributed systems
  Tailscale clients can now cache the network map (netmap) to disk, so nodes start faster and can reach peers even when the coordination server is unreachable after a restart.

## 2026-11-16

- [Is AI just another third-party dependency? Yes, right up until it isn't](https://swe.quest/articles/is-ai-just-another-third-party-dependency-yes-right-up-until-it-isn-t-d55e7981a30f1984.md): incident.io · 2026-11-16 · Easy · 7 min read · SRE, LLMs, Observability, Resilience, Evaluation
  AI model providers can mostly be managed like any third-party dependency, with SLAs, SLOs, an LLM gateway, failover and observability, and they count toward dependency availability ceilings (three 99.99% components cap you near 99.97%).

## 2026-11-12

- [Workflow SDK 5: built for production](https://swe.quest/articles/workflow-sdk-5-built-for-production-8a4967cc859bc936.md): Vercel · 2026-11-12 · Medium · 9 min read · Serverless, Resilience, Performance engineering, Cryptography, AI agents
  Workflow SDK 5 reworks Vercel's durable async JavaScript workflow engine around security, regional placement and performance.

## 2026-11-11

- [Choosing QuePaxa, an unusual consensus algorithm](https://swe.quest/articles/choosing-quepaxa-an-unusual-consensus-algorithm-8142736b7b34aaea.md): Cloudflare · 2026-11-11 · Hard · 18 min read · Consensus, Distributed systems, Resilience, Replication
  Cloudflare's Meerkat, a globally distributed consensus service for its internal control plane, uses QuePaxa instead of Raft or Multi-Paxos.

## 2026-11-10

- [Beyond Test Cards: A Fake Payment Provider for Testing at Scale](https://swe.quest/articles/beyond-test-cards-a-fake-payment-provider-for-testing-at-scale-9be029b6af37f767.md): Lyft Engineering · 2026-11-10 · Medium · 15 min read · Payments & fintech, Testing, Resilience, System design
  Lyft built a Fake Payment Provider that implements the same provider interface as real processors (tokenize, authorize, increment, capture, charge, refund, void), so it can simulate partial failures, soft declines with retries, pending responses, timeouts and outages that processor test cards cannot.
- [Skipper, Airbnb’s embedded workflow engine, is now open source](https://swe.quest/articles/skipper-airbnb-s-embedded-workflow-engine-is-now-open-source-791f5d416d163001.md): Airbnb Engineering · 2026-11-10 · Medium · 6 min read · Scheduling, Distributed systems, Resilience, Java & JVM, Open source
  Airbnb has open-sourced Skipper under Apache 2.0, an embedded durable workflow engine for Java and Kotlin that runs inside a service and stores workflow state in the service's existing database, with no separate orchestration cluster.
- [Self-service regional failover with Amazon Application Recovery Controller Region Switch and centralized ingress controls](https://swe.quest/articles/self-service-regional-failover-with-amazon-application-recovery-controller-437af76811f71074.md): AWS Architecture Blog · 2026-11-10 · Medium · 17 min read · Resilience, Cloud platforms, DNS, Networking, System design
  Application teams in regulated enterprises can run self-service multi-Region failover behind a centralized ingress proxy fleet by owning a Route 53 Private Hosted Zone failover recordset while a central team owns peered Transit Gateways and VPC attachments.

## 2026-11-09

- [Eventually Consistent: How Do We Know the Systems Eventually Agree?](https://swe.quest/articles/eventually-consistent-how-do-we-know-the-systems-eventually-agree-446e4800453d4b35.md): Kogan.com Dev Blog · 2026-11-09 · Medium · 9 min read · Event-driven architecture, Consistency models, Resilience, PostgreSQL, E-commerce
  Eventually consistent event-driven order systems need a reconciliation job that starts from the authoritative order store, not from received messages, so orders whose events were lost (like a fraud-hold release that never reached SAP) still surface.
- [How a broken release name overloaded our symbolication database](https://swe.quest/articles/how-a-broken-release-name-overloaded-our-symbolication-database-a58ed5f9f475f6d7.md): Sentry · 2026-11-09 · Medium · 7 min read · PostgreSQL, Performance engineering, Incidents & postmortems, Resilience, Debugging
  A handful of customer releases with unexpanded names like \`VERCEL\_GIT\_COMMIT\_SHA\` accumulated tens of millions of URL index rows in Sentry's Postgres 14 files database, and an unbounded source-map URL lookup kept scanning them, timing out and being retried.

## 2026-11-05

- [Designing a reliable unplanned failover](https://swe.quest/articles/designing-a-reliable-unplanned-failover-ab0dd731f569d08c.md): PlanetScale · 2026-11-05 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Distributed systems, Distributed databases
  Neki, PlanetScale's Postgres sharding system, declares a primary dead only when its control plane (Admin) cannot reach it and at least one reachable replica reports broken replication with none contradicting.

## 2026-11-04

- [How Figma manages sandboxes at scale](https://swe.quest/articles/how-figma-manages-sandboxes-at-scale-2d97e81a21201803.md): Figma · 2026-11-04 · Medium · 11 min read · Sandboxing & isolation, System design, Resilience, Cloud platforms, AI agents
  Nimbus is Figma's internal platform for running tens of thousands of sandboxes for AI-generated code across multiple cloud providers.
- [Fencing a Postgres primary that might still be alive](https://swe.quest/articles/fencing-a-postgres-primary-that-might-still-be-alive-67043bdd5aea0f6c.md): ClickHouse · 2026-11-04 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Networking, Cloud platforms
  Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous\_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

## 2026-11-03

- [From Onboarding to Production: How I Built Dynamic Vendor Switching at Wise](https://swe.quest/articles/from-onboarding-to-production-how-i-built-dynamic-vendor-switching-at-wise-85b307f3976cca68.md): Wise Engineering · 2026-11-03 · Medium · 7 min read · Payments & fintech, Resilience, Observability, Deployment, System design
  Wise built a system that automatically reroutes EUR bank pay-ins to an alternative vendor, per bank, when the primary vendor fails or degrades.

## 2026-11-02

- [How to run a DR readiness engagement](https://swe.quest/articles/how-to-run-a-dr-readiness-engagement-ebbdb0b2c2e8b27b.md): AWS Architecture Blog · 2026-11-02 · Medium · 5 min read · Resilience, SRE, Cloud platforms, Incidents & postmortems
  A disaster recovery readiness engagement can move from undefined targets to a validated recovery commitment in weeks.

## 2026-10-29

- [Degrade gracefully: designing AI features that keep working when the model doesn't](https://swe.quest/articles/degrade-gracefully-designing-ai-features-that-keep-working-when-the-model-doesn-6b9424afccbe7e08.md): incident.io · 2026-10-29 · Easy · 11 min read · Resilience, LLMs, AI agents, Observability, SRE
  AI features that have quietly become part of engineers' workflows need designed fallbacks for both outright model outages and silent quality regressions.
- [Designing a planned switchover for minimum disruption](https://swe.quest/articles/designing-a-planned-switchover-for-minimum-disruption-c09f9387b5a40465.md): PlanetScale · 2026-10-29 · Hard · 8 min read · PostgreSQL, Replication, Resilience, Deployment
  Neki performs planned Postgres primary switchovers without stopping the old primary.

## 2026-10-28

- [1M Durable Workflows per Second on Postgres](https://swe.quest/articles/1m-durable-workflows-per-second-on-postgres-8f041571c87c6775.md): DBOS · 2026-10-28 · Medium · 5 min read · PostgreSQL, Distributed databases, Scaling, Resilience, Queues & messaging
  Sharding Postgres with PgDog let DBOS durable workflow throughput scale linearly from 20K workflows/sec on one db.m7i.4xlarge RDS instance to 1M workflows/sec across 50 shards.

## 2026-10-27

- [Auto repair for Together GPU Clusters: from GPU fault to healthy node](https://swe.quest/articles/auto-repair-for-together-gpu-clusters-from-gpu-fault-to-healthy-node-03bd4037e33a3fa0.md): Together AI · 2026-10-27 · Medium · 10 min read · Resilience, SRE, Kubernetes, Hardware, ML platforms
  Together GPU Clusters' auto repair only repairs a node when a failed health check backs it, rather than keying on Kubernetes NotReady, and attaches evidence to every repair.

## 2026-10-19

- [MagicRoute: Routing without physical routers](https://swe.quest/articles/magicroute-routing-without-physical-routers-ce976a6c4c51d5ec.md): Tailscale · 2026-10-19 · Easy · 6 min read · Networking, Load balancing, Resilience
  MagicRoute replaces Tailscale's DERP-region-based regional routing with per-client scoring of subnet routers, app connectors and Service hosts, currently using coarse geographic distance rather than latency.
- [Inside Prometheus: Meta’s Journey to a Gigawatt-Scale Supercluster](https://swe.quest/articles/inside-prometheus-meta-s-journey-to-a-gigawatt-scale-supercluster-d73a613bf03e3491.md): Meta Engineering · 2026-10-19 · Hard · 15 min read · Model training, Datacenters, Hardware, Networking, Resilience
  Prometheus is Meta's gigawatt-scale AI training supercluster in New Albany, Ohio, built in phases toward roughly 1 million GPUs.

## 2026-10-15

- [Production Postgres on Railway: From First Deploy to High Availability](https://swe.quest/articles/production-postgres-on-railway-from-first-deploy-to-high-availability-70a3bcba84354fc9.md): Railway · 2026-10-15 · Medium · 13 min read · PostgreSQL, Replication, Resilience, Cloud platforms
  Railway Postgres can grow from a single private-networked database to a production setup with volume backups, point-in-time recovery, PgBouncer connection pooling and Patroni-based high availability, demonstrated with an orders API that uses idempotency keys so retries stay safe.
- [2026 World Cup: Breaking Records, Spiky Charts and Reliability at Scale](https://swe.quest/articles/2026-world-cup-breaking-records-spiky-charts-and-reliability-at-scale-5c9caeadf4dd35de.md): Meta Engineering · 2026-10-15 · Easy · 4 min read · Capacity planning, Scaling, Resilience, Load balancing, SRE
  The 2026 World Cup set Meta platform records, including WhatsApp peaking above 30 million messages per second during the final, with traffic surges driven by match breaks and whistles rather than live gameplay.

## 2026-10-12

- [Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations](https://swe.quest/articles/turning-opportunistic-ai-inference-capacity-into-better-ads-recommendations-a2893f4d3d62c2b4.md): Meta Engineering · 2026-10-12 · Medium · 10 min read · Ads, Inference & serving, Recommendations & ranking, Resilience, Capacity planning
  Meta aggregates locally idle inference capacity, stranded by peak provisioning, delivery timing, resource-ratio and accelerator-type mismatches, into a preemptible opportunistic pool used to improve ads recommendations.
- [Endpoint Candidates: evaluate and promote inference endpoints](https://swe.quest/articles/endpoint-candidates-evaluate-and-promote-inference-endpoints-e21411973e001e67.md): Modal · 2026-10-12 · Medium · 3 min read · Inference & serving, Deployment, Load balancing, Resilience
  Endpoint Candidates let Modal users stage alternative deployments of a Dedicated Endpoint, such as new checkpoints or different models, mirror a sample of production traffic to them, measure latency, throughput, cost and quality, then promote a winner from the dashboard to the existing URL.

## 2026-10-08

- [Building effective agent automations](https://swe.quest/articles/building-effective-agent-automations-abcba7937b1d5df2.md): claude.dev · 2026-10-08 · Medium · 12 min read · AI agents, LLMs, Resilience
  A scheduled daily-brief agent built on Claude Managed Agents reads Slack channels and GitHub pull requests, tracks what changed since the last run, and posts a short brief to Slack.

## 2026-10-07

- [Thundering herd of circuit breakers](https://swe.quest/articles/thundering-herd-of-circuit-breakers-b2ab1d42eebffb68.md): Zalando Engineering · 2026-10-07 · Medium · 9 min read · Resilience, Incidents & postmortems, Observability, Kubernetes, Capacity planning
  A client's circuit breaker stayed open for hours because its half-open probes hit a service that the HPA had scaled down to three pods.
- [What today's software owes to Bronze Age clocks](https://swe.quest/articles/what-today-s-software-owes-to-bronze-age-clocks-f1c84fb59510a8bf.md): PlanetScale · 2026-10-07 · Medium · 8 min read · Resilience, PostgreSQL, API design, Algorithms
  Leaky buckets, descended from Bronze Age water clocks, remain a cheap admission-control mechanism: a bucket stores only its last level and timestamp, so its current level can be computed lazily as max(0, level\_then − drain\_rate × elapsed).

## 2026-10-02

- [How recurring network maintenance exposed 6 bugs](https://swe.quest/articles/how-recurring-network-maintenance-exposed-6-bugs-e0c55b4aaea1ee8f.md): Jane Street Tech Blog · 2026-10-02 · Hard · 20 min read · Debugging, DNS, Resilience, Functional programming, Linux
  Recurring weekend network partitions caused Jane Street's Kafka relays and consumer-group monitors to segfault, leak hundreds of thousands of sockets, and crash under recovery-time TCP connection surges, and tracing them uncovered six layered bugs.

## 2026-10-01

- [Pi Durable](https://swe.quest/articles/pi-durable-d581499965d178c8.md): Earendil · 2026-10-01 · Medium · 20 min read · AI agents, Resilience, TypeScript, LLMs
  Pi Durable is an experimental TypeScript harness, shipped alongside Pi 1.0, for long-running agents that survive crashes, run many conversations concurrently, and run wherever a JavaScript runtime exists.
- [Announcing @neon/effect](https://swe.quest/articles/announcing-neon-effect-a662ae931c553237.md): Neon · 2026-10-01 · Medium · 4 min read · TypeScript, Resilience, PostgreSQL, Developer tools
  @neon/effect wraps the Neon SDK for Effect 4, keeping the same method names while returning Effects for API calls and Streams for paginated lists.
- [A resilient kernel log reporter](https://swe.quest/articles/a-resilient-kernel-log-reporter-6b71e14df313dc47.md): Jane Street Tech Blog · 2026-10-01 · Hard · 6 min read · Linux, Observability, Resilience, Debugging, Operating systems
  Jane Street built a kernel log shipper that keeps working when disk or network fail, so logs from the most interesting crashes still reach central storage.

## 2026-09-30

- [Incident Report: September 30, 2026: Domain Routing Disruption](https://swe.quest/articles/incident-report-september-30-2026-domain-routing-disruption-818b99b24229ffdb.md): Railway · 2026-09-30 · Medium · 5 min read · Incidents & postmortems, Schema migrations, Deployment, Resilience, Load balancing
  A rollout of Railway's distributed routing control plane deployed a new routing service binary before its required database schema migration finished, because the two ran in parallel pipelines after the control plane was split out of the monolith.
- [How we systematically improved our reliability](https://swe.quest/articles/how-we-systematically-improved-our-reliability-84b3da37239114bb.md): Neon · 2026-09-30 · Medium · 11 min read · SRE, Incidents & postmortems, Resilience, PostgreSQL, Deployment
  After two control-plane incidents in one week, each triggered by an external dependency failure that turned into a self-reinforcing loop, Neon rebuilt how it runs reliability for Lakebase Postgres across 70+ cells on three clouds.

## 2026-09-28

- [Can your Postgres survive a bad query?](https://swe.quest/articles/can-your-postgres-survive-a-bad-query-744ea9a22b65710c.md): ClickHouse · 2026-09-28 · Hard · 13 min read · PostgreSQL, Memory management, Resilience, Query engines, Linux
  Postgres's \`work\_mem\` limits memory per plan node per process, not per query, so parallel workers and \`hash\_mem\_multiplier\` can push a simple aggregation past 8x \`work\_mem\`.

## 2026-09-17

- [Worker Backpressure (Part 1)](https://swe.quest/articles/worker-backpressure-part-1-6d000eabc0ad7f1d.md): Canva Engineering · 2026-09-17 · Medium · 11 min read · Resilience, Queues & messaging, SRE
  Canva added Worker Backpressure to its shared queue library: each worker records success/failure outcomes, a pluggable controller maintains a backoff factor (0.0 to 1.0) against a failure-rate set point, and the factor scales down how many messages the worker may poll and process concurrently.

## 2026-09-16

- [AI Changed How Spotify Builds. What We Learned (and Fixed) About Quality at Higher Velocity](https://swe.quest/articles/ai-changed-how-spotify-builds-what-we-learned-and-fixed-about-quality-at-higher-f3371ab51bf64587.md): Spotify Engineering · 2026-09-16 · Easy · 7 min read · SRE, AI for coding, Resilience, Capacity planning, Deployment
  Spotify's quality regressions during its AI ramp-up came not from AI-authored code but from change volume outpacing verification, plus AI-driven compute scarcity that made regional failovers visible to users.

## 2026-09-14

- [How We Built Automated Capacity Testing for Kafka Consumers](https://swe.quest/articles/how-we-built-automated-capacity-testing-for-kafka-consumers-bca74c5a1d624617.md): Booking.com Engineering · 2026-09-14 · Medium · 7 min read · Queues & messaging, Capacity planning, Resilience, Testing, SRE
  Booking.com extended its HTTP capacity-testing platform to Kafka consumers by using partition assignment as the load knob: a custom priority-aware partition assignor shifts extra partitions onto one target instance step by step, reproducing failure-induced load concentration without killing healthy consumers.

## 2026-09-11

- [Rapidly scaling online storage to serve over 1 billion ChatGPT users](https://swe.quest/articles/rapidly-scaling-online-storage-to-serve-over-1-billion-chatgpt-users-05665dfd2bff721d.md): OpenAI · 2026-09-11 · Medium · 14 min read · Scaling, Python, Concurrency, Performance engineering, Resilience
  Habitat, OpenAI's online storage platform, grew from a client-side Python library over Azure Cosmos DB into a centralized Python service handling 70M+ requests per second and 500+ PB across about 40 regions.

## 2026-09-03

- [ZGateway: Learnings from Putting a Proxy in Front of ZippyDB](https://swe.quest/articles/zgateway-learnings-from-putting-a-proxy-in-front-of-zippydb-e9677a1b8fb7de14.md): Meta Engineering · 2026-09-03 · Medium · 13 min read · Distributed databases, Load balancing, Resilience, Scaling, Multi-tenancy
  ZGateway is a stateless regional proxy tier in front of ZippyDB, Meta's most widely used key-value store.

## 2026-09-02

- [Interning at incident.io: rate limiting, resiliently](https://swe.quest/articles/interning-at-incident-io-rate-limiting-resiliently-703eb65d0ab42974.md): incident.io · 2026-09-02 · Medium · 10 min read · Resilience, Algorithms, Kubernetes, Engineering culture
  incident.io made its rate limiter keep working when its Valkey backing store (Google Cloud Memorystore) is unavailable, instead of failing open.

## 2026-08-24

- [Ensuring reliable OpenTelemetry ingestion at scale](https://swe.quest/articles/ensuring-reliable-opentelemetry-ingestion-at-scale-ef5f46f7e6587da0.md): ClickHouse · 2026-08-24 · Medium · 12 min read · Observability, Resilience, Data pipelines, Cloud platforms, Kubernetes
  ClickHouse's LogHouse OpenTelemetry pipeline, ingesting 50 million events per second, absorbs database backpressure by failing over to S3 rather than buffering in memory, local WALs or Kafka.

[Next page](https://swe.quest/tags/resilience.md?per=48&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=resilience](https://swe.quest/feed.xml?tag=resilience). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
