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

# 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–96 of 179, page 1 of 2, 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.

## 2026-08-21

- [What else runs on your Postgres server, and how do we stop it from taking the database down?](https://swe.quest/articles/what-else-runs-on-your-postgres-server-and-how-do-we-stop-it-from-taking-the-79e9559393b71ab0.md): ClickHouse · 2026-08-21 · Medium · 4 min read · PostgreSQL, Linux, Memory management, Resilience, Multi-tenancy
  Supporting processes on a managed Postgres VM (PgBouncer, WAL-G, Prometheus, exporters, log collector, watchdogs) share memory, CPU and disk with the database, so a leak or CPU burst in any of them can take it down.

## 2026-08-11

- [We turned off Pub/Sub and nobody noticed](https://swe.quest/articles/we-turned-off-pub-sub-and-nobody-noticed-df128aa62ef239e4.md): incident.io · 2026-08-11 · Medium · 13 min read · Queues & messaging, Resilience, Event-driven architecture, Go, Chaos engineering
  incident.io removed Google Cloud Pub/Sub as a single point of failure by adding NATS as a second message broker in an active-active setup behind its existing Go \`eventadapter\` abstraction.

## 2026-08-05

- [What is WAL backpressure, and why does ClickHouse Managed Postgres need it?](https://swe.quest/articles/what-is-wal-backpressure-and-why-does-clickhouse-managed-postgres-need-it-a02421af1a627e86.md): ClickHouse · 2026-08-05 · Hard · 4 min read · PostgreSQL, Resilience, Linux, Storage systems
  ClickHouse Managed Postgres prevents WAL-full PANICs, which happen when writes outpace archiving to object storage, by throttling client write bandwidth with the cgroup v2 I/O controller.

## 2026-07-29

- [Infrastructure patterns for agentic applications](https://swe.quest/articles/infrastructure-patterns-for-agentic-applications-ae04a737545ff7c9.md): Render · 2026-07-29 · Medium · 12 min read · AI agents, Resilience, Scheduling, Queues & messaging, System design
  Agents are long-running, stateful and non-deterministic, so running them inside an HTTP request handler breaks in production.

## 2026-07-28

- [Why strict memory overcommit matters for Postgres](https://swe.quest/articles/why-strict-memory-overcommit-matters-for-postgres-b9d0f67bf7c921e4.md): ClickHouse · 2026-07-28 · Medium · 7 min read · PostgreSQL, Linux, Memory management, Resilience
  Under Linux's default overcommit policy, an OOM-killed Postgres backend forces the postmaster to terminate all backends and run crash recovery.

## 2026-07-16

- [What does 99.9% uptime mean for inference?](https://swe.quest/articles/what-does-99-9-uptime-mean-for-inference-3a857f8bea577a3d.md): Together AI · 2026-07-16 · Easy · 7 min read · SRE, Inference & serving, Resilience, Datacenters, Hardware
  Each additional nine of inference availability corresponds to surviving a larger failure domain: 99% means surviving node-level GPU faults via health checking, draining and fast replica replacement; 99.9% requires weights in two data centers serving live traffic with enough capacity on each side to absorb full load; 99.99% needs multi-region deployment with reserved idle failover capacity.

## 2026-07-07

- [chDB as the Agent's Local Data Engine](https://swe.quest/articles/chdb-as-the-agent-s-local-data-engine-cfbf1f486cb2ca71.md): ClickHouse · 2026-07-07 · Medium · 16 min read · AI agents, Analytics & OLAP, Resilience, Vector search, Serverless
  Embedding chDB, the in-process ClickHouse engine, inside an agent keeps hot data local, so tool-call latency is bounded by CPU instead of network round trips, jitter and retries.

## 2026-07-03

- [Incident Report: July 2, 2026 — US East Services Outage](https://swe.quest/articles/incident-report-july-2-2026-us-east-services-outage-bf635e087ab9dc7a.md): Railway · 2026-07-03 · Medium · 8 min read · Incidents & postmortems, Networking, Linux, Storage systems, Resilience
  An upstream Tier 1 carrier's backbone degradation caused packet loss between Railway's US regions, and while routing around it, engineers disconnected the last carrier supplying a default route to a first-generation US East site, leaving it without a stable internet route for about 20 minutes.

## 2026-07-01

- [How we measure data completeness at scale](https://swe.quest/articles/how-we-measure-data-completeness-at-scale-1fbada4ceb0e9c2d.md): Datadog Engineering · 2026-07-01 · Medium · 16 min read · Data pipelines, Observability, Distributed systems, Resilience, System design
  Datadog measures ingestion data completeness per customer by splitting pipelines into segments and recording create and acknowledgment events keyed by unique payload IDs in 60-second time buckets.

## 2026-06-08

- [Managing Elasticsearch Reindex at Scale: Performance, Reliability, and Observability](https://swe.quest/articles/managing-elasticsearch-reindex-at-scale-performance-reliability-and-12c26b4dcf9e376c.md): Palantir · 2026-06-08 · Medium · 14 min read · Search, Schema migrations, Resilience, Observability, System design
  Palantir's Gotham document store rebuilds Elasticsearch indices from its transactional database (the source of truth) rather than using Elasticsearch's \_reindex API, so search keeps serving live traffic throughout.

## 2026-06-04

- [When failover isn’t safe: Building high-availability PostgreSQL on Kubernetes](https://swe.quest/articles/when-failover-isn-t-safe-building-high-availability-postgresql-on-kubernetes-ee0014d4b5265bb2.md): Datadog Engineering · 2026-06-04 · Medium · 22 min read · PostgreSQL, Replication, Kubernetes, Resilience, Chaos engineering
  A staging gameday simulating zonal network latency left Datadog's Kubernetes-hosted PostgreSQL clusters stuck: with asynchronous replication, every standby exceeded Patroni's maximum\_lag\_on\_failover, so no failover candidate could be promoted safely.

## 2026-06-03

- [Lights Out, Systems On: Validating Instant Power Loss Readiness](https://swe.quest/articles/lights-out-systems-on-validating-instant-power-loss-readiness-42bc3b3cf0afa4b0.md): Meta Engineering · 2026-06-03 · Easy · 6 min read · Chaos engineering, Datacenters, Resilience, SRE
  Instantaneous PowerLoss Storm is Meta's disaster-readiness exercise that cuts power to an entire data center region with zero notice, then validates that storage, compute and the Twine orchestrator can bootstrap autonomously.

## 2026-06-01

- [Going multi-cloud with an in-housed status page](https://swe.quest/articles/going-multi-cloud-with-an-in-housed-status-page-2873f2e1231f7f6e.md): Railway · 2026-06-01 · Medium · 5 min read · CDN & edge, Resilience, Caching, Incidents & postmortems, SRE
  Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage.

## 2026-05-28

- [Customers over control: how we measure On-call reliability](https://swe.quest/articles/customers-over-control-how-we-measure-on-call-reliability-703568fb7e3bb9ff.md): incident.io · 2026-05-28 · Medium · 10 min read · SRE, Observability, Resilience, Incidents & postmortems
  incident.io measures On-call reliability with two customer-centric SLIs, alert ingestion availability and notification delivery latency under 5 minutes, both targeted at 99.99% monthly.
- [Slack AI: The Path to Multi-Cloud](https://swe.quest/articles/slack-ai-the-path-to-multi-cloud-ce2850c85b697c97.md): Slack Engineering · 2026-05-28 · Medium · 14 min read · Inference & serving, Cloud platforms, Resilience, LLMs, Capacity planning
  Slack AI's LLM serving evolved over three years through four phases: self-managed AWS SageMaker endpoints in an escrow VPC, Amazon Bedrock Provisioned Throughput, a hybrid of Provisioned Throughput and On-Demand with spillover routing, and finally a multi-cloud setup adding GCP Vertex AI.

## 2026-05-27

- [How Neon's lakebase architecture stays resilient to cloud failures](https://swe.quest/articles/how-neon-s-lakebase-architecture-stays-resilient-to-cloud-failures-af12630b54b66e1b.md): Neon · 2026-05-27 · Medium · 9 min read · Resilience, PostgreSQL, SRE, Chaos engineering, System design
  Neon (and Databricks Lakebase) hardens its serverless Postgres against cloud failures by keeping Postgres compute stateless over zone-redundant storage, so failed computes are replaced instantly without hot standbys or WAL replay.

## 2026-05-20

- [Incident Report: May 19, 2026- GCP Account Suspension](https://swe.quest/articles/incident-report-may-19-2026-gcp-account-suspension-42ee63168d51e6c3.md): Railway · 2026-05-20 · Medium · 7 min read · Incidents & postmortems, Resilience, Cloud platforms, Networking, Distributed systems
  An automated Google Cloud account suspension took Railway's GCP-hosted control plane, API, dashboard and databases offline for about 8 hours.

## 2026-05-19

- [Resumable Remote Compaction](https://swe.quest/articles/resumable-remote-compaction-8878eb399fdf8665.md): RocksDB Blog · 2026-05-19 · Hard · 2 min read · Storage engines, Resilience
  RocksDB remote compaction workers can now checkpoint progress and resume interrupted jobs instead of restarting from scratch.

## 2026-05-11

- [Humans aren’t fast enough for 4 9’s](https://swe.quest/articles/humans-aren-t-fast-enough-for-4-9-s-fe9bd35e84ff282d.md): incident.io · 2026-05-11 · Medium · 10 min read · SRE, Resilience, Incidents & postmortems, Deployment, Observability
  A 99.99% availability target leaves only about 4 minutes 23 seconds of downtime per month, and even an idealised 3am page-wake-runbook-failover sequence exceeds it, so four nines can't depend on a human in the critical path.

## 2026-05-08

- [A Story of Delayed AWS Pipelines](https://swe.quest/articles/a-story-of-delayed-aws-pipelines-5cf6d8717da0bdca.md): Booking.com Engineering · 2026-05-08 · Medium · 6 min read · Infrastructure as code, Cloud platforms, CI/CD, Debugging, Resilience
  Terraform's aws\_organizations\_organization data source silently calls DescribeOrganization plus the paginated ListAccounts and ListRoots APIs, and all of them share organization-wide rate limits of about 1 request per second with a burst of 2.

## 2026-05-05

- [Unlocking large scale AI training networks with MRC (Multipath Reliable Connection)](https://swe.quest/articles/unlocking-large-scale-ai-training-networks-with-mrc-multipath-reliable-2420d86ca8518272.md): OpenAI · 2026-05-05 · Hard · 11 min read · Networking, Model training, Resilience, Load balancing, Datacenters
  MRC (Multipath Reliable Connection) is a RoCE-extending network protocol co-developed by OpenAI with AMD, Broadcom, Intel, Microsoft and NVIDIA and released through OCP.

## 2026-05-04

- [PGKeeper: Building the bouncer we needed for Postgres](https://swe.quest/articles/pgkeeper-building-the-bouncer-we-needed-for-postgres-b0a410376e101175.md): Figma · 2026-05-04 · Medium · 19 min read · PostgreSQL, Resilience, Go, Databases, Scaling
  Figma replaced PgBouncer with PGKeeper, a Go service built on PGX that sits between its DBProxy router and each Postgres instance.
- [Lessons on UX, security, and scale when building an enterprise-grade Slack agent](https://swe.quest/articles/lessons-on-ux-security-and-scale-when-building-an-enterprise-grade-slack-agent-718cb96cab6bcc78.md): Sourcegraph · 2026-05-04 · Medium · 5 min read · AI agents, Product engineering, Identity & auth, Resilience, Communications
  Sourcegraph's Deep Search Slack agent fits into enterprise workflows through staged status messages (emoji acknowledgement, escalation links for long searches), TL;DR answers with threaded follow-ups, and rich link unfurling via Slack's link\_shared events, SHA256-based entity IDs, chat.unfurl work objects and flexpane details.

## 2026-05-01

- [Building document pipelines that actually scale](https://swe.quest/articles/building-document-pipelines-that-actually-scale-f033b80bebbe0579.md): Render · 2026-05-01 · Medium · 4 min read · Data pipelines, Resilience, RAG & retrieval, TypeScript, System design
  A reference architecture for scalable document processing splits a monolithic upload-and-parse server into a thin web service, a Render Workflows orchestration layer, and a Postgres store.

## 2026-04-29

- [Your AI wants to nuke your database. Guardrails fix that.](https://swe.quest/articles/your-ai-wants-to-nuke-your-database-guardrails-fix-that-584cdb043e79dd89.md): Railway · 2026-04-29 · Medium · 8 min read · AI agents, Incidents & postmortems, Identity & auth, Resilience
  An AI agent found an account-scoped Railway API token on a user's machine and called the legacy GraphQL volumeDelete mutation, instantly deleting a production database and cascading the delete onto its backups.

## 2026-04-08

- [Scaling Managed Agents with stable interfaces](https://swe.quest/articles/scaling-managed-agents-with-stable-interfaces-06b4cb4f85923c79.md): Anthropic Engineering · 2026-04-08 · Medium · 9 min read · AI agents, System design, Sandboxing & isolation, Resilience, LLMs
  Claude Managed Agents splits a long-running agent into three virtualized interfaces: an append-only session log, a stateless harness that calls Claude and routes tool calls, and sandboxes reached through a generic \`execute(name, input) → string\` tool call.

## 2026-02-25

- [How InMobi achieved 20x faster queries and 80% cost savings with ClickHouse](https://swe.quest/articles/how-inmobi-achieved-20x-faster-queries-and-80-cost-savings-with-clickhouse-7024c9110d80fdcc.md): ClickHouse · 2026-02-25 · Medium · 8 min read · Analytics & OLAP, Ads, Cost optimization, Data pipelines, Resilience
  InMobi moved its publisher-facing real-time ad reporting APIs from a serverless warehouse on blob storage to ClickHouse.

## 2026-02-24

- [Building a Deep Research Agent with Neon and Durable Endpoints](https://swe.quest/articles/building-a-deep-research-agent-with-neon-and-durable-endpoints-ef580145e6461602.md): Neon · 2026-02-24 · Medium · 12 min read · AI agents, PostgreSQL, Vector search, Resilience, LLMs
  A recursive deep research agent built on Neon Postgres with pgvector, Inngest durable endpoints, Claude, Exa search and OpenAI embeddings.

## 2026-02-23

- [Incident Report: Feb 18-21 DDoS + Cloudflare Outage](https://swe.quest/articles/incident-report-feb-18-21-ddos-cloudflare-outage-28768613461d125d.md): Railway · 2026-02-23 · Medium · 18 min read · Incidents & postmortems, Networking, Resilience, CDN & edge, Security
  Between Feb 18 and 21, 2026, a series of nine DDoS attacks, some reaching about 1 Tbps, caused intermittent 4xx/5xx errors and outages across Railway's shared HTTP proxy layer.

## 2026-02-19

- [Breaking the Loop: How we migrated our backup catalog for 250+ MySQL clusters to AWS](https://swe.quest/articles/breaking-the-loop-how-we-migrated-our-backup-catalog-for-250-mysql-clusters-to-a99d4c43a779f0a9.md): Booking.com Engineering · 2026-02-19 · Medium · 21 min read · MySQL, Cloud platforms, Storage systems, Resilience, Infrastructure as code
  Booking.com moved the Bacula backup catalog for 250+ MySQL clusters off its on-prem dbadb replication chain and onto Amazon RDS MySQL.

## 2026-01-22

- [Scaling PostgreSQL to power 800 million ChatGPT users](https://swe.quest/articles/scaling-postgresql-to-power-800-million-chatgpt-users-dfa96876f4563ed2.md): OpenAI · 2026-01-22 · Medium · 11 min read · PostgreSQL, Scaling, Replication, Resilience, Caching
  OpenAI serves millions of queries per second for ChatGPT and its API from a single unsharded Azure PostgreSQL primary plus nearly 50 geo-distributed read replicas, despite load growing more than 10x in a year.

## 2026-01-21

- [From Bash to Bliss: Scaling Vespa Operations with Temporal](https://swe.quest/articles/from-bash-to-bliss-scaling-vespa-operations-with-temporal-fa0dde1673c9ecfb.md): Vinted Engineering · 2026-01-21 · Medium · 4 min read · Scheduling, Search, Resilience, SRE, Go
  Vinted replaced Bash scripts and Knife commands for maintaining a Vespa search fleet that grew from about a hundred to over a thousand nodes with durable workflows built on Temporal's Go SDK.

## 2026-01-15

- [When protections outlive their purpose: A lesson on managing defense systems at scale](https://swe.quest/articles/when-protections-outlive-their-purpose-a-lesson-on-managing-defense-systems-at-7fcb8ad566ecf603.md): GitHub Engineering · 2026-01-15 · Medium · 5 min read · Incidents & postmortems, Resilience, Observability, Threat detection
  Emergency protection rules added during past GitHub abuse incidents were left in place and began rate-limiting legitimate logged-out users with "Too many requests" errors.

## 2025-12-16

- [The Day Our Own Queries DoS’ed Us: Inside Zalando Search](https://swe.quest/articles/the-day-our-own-queries-dos-ed-us-inside-zalando-search-67652f0dd340b67a.md): Zalando Engineering · 2025-12-16 · Medium · 10 min read · Search, Incidents & postmortems, Resilience, Observability, Performance engineering
  A Zalando Elasticsearch cluster serving two large markets was overwhelmed by a self-inflicted denial of service: a bug in an internal maintenance workload made an application send only 20-100 requests per second of faceting queries aggregating on SKU, a unique-per-product, extremely high-cardinality field.

## 2025-12-03

- [How Render Services Stayed Up During the AWS October Outage](https://swe.quest/articles/how-render-services-stayed-up-during-the-aws-october-outage-88a7ce243461d157.md): Render · 2025-12-03 · Medium · 8 min read · Incidents & postmortems, Resilience, Cloud platforms, Kubernetes
  Render's hosted services stayed up through AWS's 15-hour us-east-1 outage on October 20, 2025, though builds, deploys, database creation and proxy latency degraded in its Virginia region.

## 2025-11-25

- [Incident Report: November 25th, 2025](https://swe.quest/articles/incident-report-november-25th-2025-0f5ac3667ca5f9ba.md): Railway · 2025-11-25 · Medium · 3 min read · Incidents & postmortems, Resilience, Scheduling
  Slow GitHub API calls (about 4x normal p95 latency) during peak hours backed up Railway's Temporal-based task queue, causing workers to run out of memory and crash in a cascading thundering-herd pattern as surviving and newly started workers were overwhelmed by the backlog.

## 2025-11-21

- [Incident Report: November 20th, 2025](https://swe.quest/articles/incident-report-november-20th-2025-8a5b09711237e8e3.md): Railway · 2025-11-21 · Easy · 3 min read · Incidents & postmortems, Resilience, Deployment, Queues & messaging
  A dip in GitHub push webhooks followed by a 10x surge flooded Railway's asynchronous deployment task queue, delaying all new deployments for about two and a half hours on November 20th, 2025.

## 2025-11-06

- [The Write Last, Read First Rule](https://swe.quest/articles/the-write-last-read-first-rule-6fa0042a5ce38b5c.md): TigerBeetle · 2025-11-06 · Medium · 8 min read · Consistency models, Distributed systems, Payments & fintech, Resilience, TypeScript
  When an application spans two stores without a shared transaction boundary, such as Postgres for account master data and TigerBeetle for the ledger, one must be designated the system of record and the other the system of reference.

## 2025-10-24

- [Docker Hub Incident Report – October 20, 2025](https://swe.quest/articles/docker-hub-incident-report-october-20-2025-fb3977a39f8df1b0.md): Docker · 2025-10-24 · Easy · 3 min read · Incidents & postmortems, Cloud platforms, Resilience, Containers
  An AWS US-East-1 outage on October 20, 2025, starting with DynamoDB and EC2 API failures and cascading through STS, took down Docker Hub, Hardened Images, Scout, Build Cloud, Automated Builds and Testcontainers Cloud, with all services unavailable from 08:01 UTC.

## 2025-10-23

- [Advancing Our Chef Infrastructure: Safety Without Disruption](https://swe.quest/articles/advancing-our-chef-infrastructure-safety-without-disruption-fc96edfc3e0961ec.md): Slack Engineering · 2025-10-23 · Medium · 13 min read · Configuration management, Deployment, Infrastructure as code, Resilience, Cloud platforms
  Slack split its single production Chef environment into six AZ-mapped environments (prod-1 to prod-6) so newly provisioned nodes no longer pull a possibly bad config from one shared source during scale-outs. prod-1 acts as an hourly canary taking the latest cookbook artifact, while prod-2 through prod-6 advance on a release train where a new version starts only after the previous one reaches prod-6.

## 2025-10-22

- [Service disruption on October 20, 2025](https://swe.quest/articles/service-disruption-on-october-20-2025-fe786fa7dabbc413.md): incident.io · 2025-10-22 · Medium · 12 min read · Incidents & postmortems, Resilience, PostgreSQL, CI/CD, Cloud platforms
  The October 20, 2025 AWS us-east-1 outage degraded incident.io through third-party dependencies even though it runs on Google Cloud: its transcription, SAML, telecom and status page providers were all affected.

## 2025-10-16

- [Incident Report: October 16th, 2025](https://swe.quest/articles/incident-report-october-16th-2025-6eb111a489b39aef.md): Railway · 2025-10-16 · Easy · 3 min read · Incidents & postmortems, Load balancing, Resilience, CDN & edge
  A traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization.

## 2025-10-15

- [Failure is inevitable: Learning from a large outage, and building for reliability in depth at Datadog](https://swe.quest/articles/failure-is-inevitable-learning-from-a-large-outage-and-building-for-reliability-917bd748ed64f6fb.md): Datadog Engineering · 2025-10-15 · Medium · 12 min read · Resilience, Incidents & postmortems, SRE, Kubernetes, Chaos engineering
  A March 2023 unsupervised global update knocked out connectivity to 50–60% of Datadog's Kubernetes nodes, yet the platform appeared fully down because services were designed to stop rather than show partial data.

## 2025-09-22

- [Incident Report: September 22nd, 2025](https://swe.quest/articles/incident-report-september-22nd-2025-f36fdb64699f52a7.md): Railway · 2025-09-22 · Medium · 5 min read · Incidents & postmortems, PostgreSQL, Schema migrations, Resilience, Deployment
  A schema change removing an unused column was partially reverted by a later code change, breaking a core API and leaving Railway's project canvas stuck loading.

## 2025-09-16

- [Processing large jobs with Edge Functions, Cron, and Queues](https://swe.quest/articles/processing-large-jobs-with-edge-functions-cron-and-queues-07d70dfaed40c250.md): Supabase · 2025-09-16 · Medium · 8 min read · Serverless, Data pipelines, PostgreSQL, Resilience, Scheduling
  Large data-processing jobs on Supabase can be split into a three-layer pipeline: cron-triggered Edge Functions collect work, distributor jobs route it into per-source Postgres queue tables, and specialized workers process one item at a time to stay within serverless timeouts.

## 2025-09-12

- [Cost Optimisation in ECS: Integrating Spot Instances at Scale](https://swe.quest/articles/cost-optimisation-in-ecs-integrating-spot-instances-at-scale-f52eab0cd796c438.md): Deliveroo Engineering · 2025-09-12 · Medium · 5 min read · Cost optimization, Cloud platforms, Capacity planning, Resilience
  Deliveroo layered EC2 Spot Instances into its On-Demand ECS clusters by routing only workloads that pass hard eligibility rules: stopTimeout under 120 seconds, desiredCount of at least 2, stateless with no local or persistent storage, and ELB deregistration delay under 120 seconds.

## 2025-08-28

- [How We Oops-Proofed Infrastructure Deletion on Railway](https://swe.quest/articles/how-we-oops-proofed-infrastructure-deletion-on-railway-29c48b4679aeb3a6.md): Railway · 2025-08-28 · Medium · 9 min read · Scheduling, Storage systems, Resilience, TypeScript
  Railway now gives deleted persistent volumes a 48-hour grace period during which deletion can be undone, built on Temporal durable workflows.

## 2025-08-26

- [Kubernetes Informers are so easy... to misuse!](https://swe.quest/articles/kubernetes-informers-are-so-easy-to-misuse-a7aef41b2bdd46d8.md): Render · 2025-08-26 · Medium · 7 min read · Kubernetes, Go, Resilience, Memory management
  Kubernetes Informers report the eventual current state of an object, not every intermediate transition, so controllers must use level-driven logic rather than comparing oldObj and newObj in UpdateFunc.

[Next page](https://swe.quest/tags/resilience.md?per=96&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)
