---
title: "Distributed systems (medium)"
description: "Coordination and failure across multiple machines (general)"
url: "https://swe.quest/tags/distributed-systems?difficulty=medium&per=48"
---

# Distributed systems (medium)

Topic in Distributed systems: Coordination and failure across multiple machines (general)

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

Posts 1–48 of 49, page 1 of 2, newest first.

## 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.

## 2026-11-21

- [Under the hood of Booking.com’s search engine](https://swe.quest/articles/under-the-hood-of-booking-com-s-search-engine-3615517db8d733bb.md): Booking.com Engineering · 2026-11-21 · Medium · 7 min read · Search, System design, Distributed systems, Databases, Performance engineering
  Booking.com’s search engine generates personalised hotel offers at request time instead of precomputing and indexing every possible room/date/price combination, which would be combinatorially infeasible.

## 2026-11-17

- [Building the Agent Host Protocol for sessions that continue across devices](https://swe.quest/articles/building-the-agent-host-protocol-for-sessions-that-continue-across-devices-588952b6d83cc2ec.md): GitHub Engineering · 2026-11-17 · Medium · 7 min read · AI agents, API design, AI for coding, Distributed systems, Developer tools
  The Agent Host Protocol (AHP) is an open standard that lets multiple clients (VS Code, the Copilot app, mobile apps, custom tools) share the same long-running agent sessions, so work started on one device can continue on another.
- [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.
- [How we scaled metrics aggregation by moving durable state into storage](https://swe.quest/articles/how-we-scaled-metrics-aggregation-by-moving-durable-state-into-storage-09bea3fd544962da.md): Datadog Engineering · 2026-11-17 · Medium · 12 min read · Stream processing, Scaling, Observability, Storage engines, Distributed systems
  Datadog's metrics aggregation service, which merges DDSketch distributions to reduce tag dimensions, went through three generations as volume grew roughly 10× each time.

## 2026-11-10

- [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.

## 2026-11-06

- [A Jetstream for Spaces](https://swe.quest/articles/a-jetstream-for-spaces-24b1e147a2662e7d.md): AT Protocol · 2026-11-06 · Medium · 5 min read · Real-time systems, Identity & auth, Distributed systems, TypeScript
  Jetstream will be fully compatible with AT Protocol spaces, so apps that consume public atproto data can read non-public space data with the same client and replay-then-live cursor model.

## 2026-10-29

- [What's New in DBOS - October 2026](https://swe.quest/articles/what-s-new-in-dbos-october-2026-0574d68e693cec1d.md): DBOS · 2026-10-29 · Medium · 5 min read · Distributed systems, PostgreSQL, Scaling, Deployment, Scheduling
  DBOS Transact adds workflow rewind to any step, which discards checkpoints from that step onward and re-executes while preserving the workflow ID.

## 2026-10-22

- [An Intro to Atmospheric Groups](https://swe.quest/articles/an-intro-to-atmospheric-groups-b9274186256956d1.md): AT Protocol · 2026-10-22 · Medium · 6 min read · Distributed systems, Identity & auth, Communications, System design
  An atmospheric group, as defined by the community opensocial.group proposal, is its own atproto DID that owns a set of permissioned spaces.

## 2026-10-21

- [The bridge to agent-scale Git infrastructure](https://swe.quest/articles/the-bridge-to-agent-scale-git-infrastructure-d844fd2db4fef4f7.md): GitHub Engineering · 2026-10-21 · Medium · 7 min read · Replication, Distributed systems, Scaling, Version control, Storage systems
  GitHub has moved nearly all Git repositories to replicas split between its own data centers and Azure.

## 2026-08-06

- [Orbital Computing and Distributed Databases | CockroachDB](https://swe.quest/articles/orbital-computing-and-distributed-databases-cockroachdb-c5f1cf8d95fd646c.md): Cockroach Labs · 2026-08-06 · Medium · 18 min read · Distributed databases, Consensus, Replication, Distributed systems, Performance engineering
  Orbital compute creates a harder problem for stateful systems than for GPUs: data must be replicated, coordinated and placed across a moving constellation.

## 2026-07-16

- [Scaling to 1 million concurrent sandboxes in seconds](https://swe.quest/articles/scaling-to-1-million-concurrent-sandboxes-in-seconds-44dad4f83cd974c1.md): Modal · 2026-07-16 · Medium · 10 min read · Scheduling, Scaling, Sandboxing & isolation, Distributed systems, Containers
  Modal rebuilt its sandbox control plane to run 1 million concurrent sandboxes, creating all of them in under a minute, by removing central coordination and durable stores from the creation path.

## 2026-07-13

- [Introducing Bobbin](https://swe.quest/articles/introducing-bobbin-38b7a32c2aaf86ba.md): Tangled · 2026-07-13 · Medium · 7 min read · System design, Caching, Distributed systems, Deployment
  Bobbin is a read-only, API-only AppView for Tangled that serves the sh.tangled.\* atproto lexicons over XRPC while holding everything in RAM.

## 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-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-03-03

- [How we rebuilt the search architecture for high availability in GitHub Enterprise Server](https://swe.quest/articles/how-we-rebuilt-the-search-architecture-for-high-availability-in-github-01873f5db2c5c7f0.md): GitHub Engineering · 2026-03-03 · Medium · 5 min read · Search, Replication, System design, Distributed systems
  GitHub Enterprise Server's HA mode is replacing its single Elasticsearch cluster spanning primary and replica nodes with independent single-node clusters per server, linked by Elasticsearch Cross Cluster Replication (CCR).

## 2026-02-13

- [Beyond rate limits: scaling access to Codex and Sora](https://swe.quest/articles/beyond-rate-limits-scaling-access-to-codex-and-sora-f19f4998580ba788.md): OpenAI · 2026-02-13 · Medium · 6 min read · Payments & fintech, System design, Consistency models, Event-driven architecture, Distributed systems
  OpenAI replaced hard rate-limit stops for Codex and Sora with a real-time access engine that treats rate limits, free tiers, credits, promotions and enterprise entitlements as layers in a single decision waterfall evaluated per request.

## 2026-01-12

- [Inside multi-node training: How to scale model training across GPU clusters](https://swe.quest/articles/inside-multi-node-training-how-to-scale-model-training-across-gpu-clusters-0a2389f46d13b933.md): Together AI · 2026-01-12 · Medium · 4 min read · Model training, Distributed systems, Hardware, Networking
  Multi-node GPU training spreads foundation model training across many 8-GPU servers by combining data, tensor and pipeline parallelism over NVLink within nodes and InfiniBand/RoCE between them, with periodic checkpointing to survive the near-daily hardware failures of 100-node clusters.

## 2025-12-08

- [Patterns & Best Practices in Event-Driven Systems](https://swe.quest/articles/patterns-best-practices-in-event-driven-systems-4f09d6274ee25443.md): Kogan.com Dev Blog · 2025-12-08 · Medium · 5 min read · Event-driven architecture, Queues & messaging, Distributed systems, System design, Microservices
  Five core event-driven architecture patterns, compared with their tradeoffs: event notification (thin signals that force consumers to call back), event-carried state transfer (full payloads that decouple consumers at the cost of size and schema discipline), event sourcing with CQRS, choreography and orchestration.

## 2025-12-03

- [Getting from tested to battle-tested](https://swe.quest/articles/getting-from-tested-to-battle-tested-e1b6bb8c2cdb1387.md): Jane Street Tech Blog · 2025-12-03 · Medium · 13 min read · Testing, Distributed systems, Debugging, Formal methods, Queues & messaging
  Jane Street's Aria, a low-latency message bus with strong ordering guarantees, already had unit, simulated-network, quickcheck, AFL fuzz, version-skew, lab and chaos tests, yet adding Antithesis's deterministic-hypervisor testing surfaced two unknown bugs on the first run.

## 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-22

- [Corrosion](https://swe.quest/articles/corrosion-041c41646926d669.md): Fly.io · 2025-10-22 · Medium · 9 min read · Distributed systems, Replication, SQLite, Incidents & postmortems, Rust
  Corrosion is Fly.io's open-source service discovery system: a Rust program that propagates a SQLite database across thousands of workers via SWIM gossip and QUIC, using the cr-sqlite CRDT extension with last-write-wins logical timestamps instead of distributed consensus.

## 2025-06-17

- [How we scaled fast, reliable configuration distribution to thousands of workload containers](https://swe.quest/articles/how-we-scaled-fast-reliable-configuration-distribution-to-thousands-of-workload-e29683144db0f208.md): Datadog Engineering · 2025-06-17 · Medium · 13 min read · Configuration management, Distributed systems, Resilience, Multi-tenancy, Caching
  Datadog replaced on-demand per-tenant config loading (database reads plus Kafka cache-invalidation messages) with a context-publisher that snapshots all tenants' configuration into RocksDB blobs in cloud storage and streams individual updates over Kafka.

## 2025-05-20

- [Modal's serverless KV store gets its limit raised to infinity](https://swe.quest/articles/modal-s-serverless-kv-store-gets-its-limit-raised-to-infinity-9f67f240cb6a408f.md): Modal · 2025-05-20 · Medium · 4 min read · Serverless, Caching, Distributed systems, Python
  Modal's Dict key-value primitive now has unlimited storage, durability, a 7-day TTL that is refreshed on both reads and writes (previously 30 days since last write with a 10GiB cap), and a \`skip\_if\_exists\` flag on \`.put()\` that works as a distributed lock.

## 2025-02-19

- [Achieving relentless Kafka reliability at scale with the Streaming Platform](https://swe.quest/articles/achieving-relentless-kafka-reliability-at-scale-with-the-streaming-platform-ccf96914fd7cb7a9.md): Datadog Engineering · 2025-02-19 · Medium · 10 min read · Queues & messaging, Resilience, Distributed systems, Scaling, Rust
  Datadog runs hundreds of Kafka clusters with millions of partitions and built the Streaming Platform, a control layer that decouples producers and consumers from specific clusters through "Streams" spanning clusters, AZs and Kubernetes environments.

## 2025-02-03

- [How Precision Time Protocol handles leap seconds](https://swe.quest/articles/how-precision-time-protocol-handles-leap-seconds-7f6fcf3729d9faf4.md): Meta Engineering · 2025-02-03 · Medium · 3 min read · Time & clocks, Datacenters, Distributed systems
  Meta handles leap seconds for its nanosecond-precision PTP service by self-smearing inside the fbclock library, which shifts its returned Window of Uncertainty {earliest\_ns, latest\_ns} by 1 ns every 62.5 µs.

## 2024-05-23

- [How we built multi-region support for Linear](https://swe.quest/articles/how-we-built-multi-region-support-for-linear-acbf98e7bc2a3edb.md): Linear · 2024-05-23 · Medium · 9 min read · System design, Distributed systems, Identity & auth, Infrastructure as code, PostgreSQL
  Linear added an EU region by replicating its entire production deployment per region rather than sharding the database, keeping each region isolated and letting engineers keep writing against a single Postgres instance.

## 2024-02-14

- [Sharding Infrastructure: The Regional Goval Project](https://swe.quest/articles/sharding-infrastructure-the-regional-goval-project-86db1e97083bbccb.md): Replit · 2024-02-14 · Medium · 7 min read · Infrastructure as code, Distributed systems, Cloud platforms, Resilience, Deployment
  Replit re-sharded the infrastructure that runs Repls (Goval) from a few unbalanced, multi-region clusters partitioned by user membership into uniformly sized, single-region clusters with Repls distributed by consistent hashing, shrinking failure domains and removing cross-region traffic.

## 2024-01-09

- [Elixir clustering using Postgres](https://swe.quest/articles/elixir-clustering-using-postgres-4f3e50a2eab83f34.md): Supabase · 2024-01-09 · Medium · 4 min read · Elixir & Erlang, PostgreSQL, Distributed systems
  Elixir nodes can discover each other for distributed Erlang clustering through Postgres LISTEN/NOTIFY, which avoids a cloud-specific discovery service.

## 2023-12-27

- [It Takes Two to Contract](https://swe.quest/articles/it-takes-two-to-contract-371fa399d9d81617.md): TigerBeetle · 2023-12-27 · Medium · 6 min read · Zig, Testing, Consensus, Distributed systems, Language design
  Design by contract mostly reduces to types and assertions, but a real contract needs two parties: the same condition asserted at both the definition site and the call site.

## 2023-09-27

- [ClickHouse Keeper: A ZooKeeper alternative written in C++](https://swe.quest/articles/clickhouse-keeper-a-zookeeper-alternative-written-in-c-982cab848c27cdde.md): ClickHouse · 2023-09-27 · Medium · 16 min read · Consensus, Distributed systems, Performance engineering, Analytics & OLAP, C & C++
  ClickHouse Keeper is a C++ drop-in replacement for ZooKeeper with the same client protocol and data model.

## 2023-08-22

- [Slack’s Migration to a Cellular Architecture](https://swe.quest/articles/slack-s-migration-to-a-cellular-architecture-7c9634739e313402.md): Slack Engineering · 2023-08-22 · Medium · 8 min read · Resilience, Load balancing, Distributed systems, Cloud platforms, SRE
  Slack moved its critical user-facing services in us-east-1 to a cellular architecture where each availability zone is a cell that can be drained, after a 2021 gray-failure network outage in one AZ caused user-visible errors across all AZs.

## 2023-04-11

- [Real-time Messaging](https://swe.quest/articles/real-time-messaging-63eff1981479ebae.md): Slack Engineering · 2023-04-11 · Medium · 6 min read · Real-time systems, System design, Distributed systems, Communications, Scaling
  Slack's real-time messaging runs on four Java services: stateful in-memory Channel Servers sharded by consistent hashing, regionally deployed Gateway Servers holding websocket subscriptions, stateless Admin Servers bridging the Webapp backend, and Presence Servers tracking online users.

## 2023-04-04

- [Tracing Notifications](https://swe.quest/articles/tracing-notifications-050fff7612252fe6.md): Slack Engineering · 2023-04-04 · Medium · 10 min read · Observability, Communications, Distributed systems, Analytics & OLAP
  Slack models every notification as its own distributed trace, using the notification\_id as the trace\_id and span links back to the sender's message trace, so notification flows can be sampled at 100% while ordinary backend requests stay at 1%.

## 2023-03-28

- [Random Fuzzy Thoughts](https://swe.quest/articles/random-fuzzy-thoughts-74b3f2f1b21a2499.md): TigerBeetle · 2023-03-28 · Medium · 9 min read · Testing, Formal methods, Distributed systems, Zig
  Treating a fuzzer's byte slice as a finite PRNG unifies coverage-guided fuzzing with structured property-based testing: the entropy length measures input complexity, gives test-case minimization almost for free, and tells interactive simulations when to stop injecting faults.

## 2023-01-31

- [Asynchronous computing at Meta: Overview and learnings](https://swe.quest/articles/asynchronous-computing-at-meta-overview-and-learnings-38025981fbc83823.md): Meta Engineering · 2023-01-31 · Medium · 10 min read · Serverless, Queues & messaging, Scheduling, Distributed systems, System design
  Meta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific "tailers" and a source-agnostic scheduler.

## 2022-09-06

- [Viewing the world as a computer: Global capacity management](https://swe.quest/articles/viewing-the-world-as-a-computer-global-capacity-management-a52a2917bf341403.md): Meta Engineering · 2022-09-06 · Medium · 13 min read · Capacity planning, Datacenters, Scheduling, Distributed systems, Resilience
  Meta manages capacity across its 14 data center regions with two systems built on Twine and RAS.

## 2022-07-25

- [It’s time to leave the leap second in the past](https://swe.quest/articles/it-s-time-to-leave-the-leap-second-in-the-past-9e11ae3896edcf86.md): Meta Engineering · 2022-07-25 · Medium · 6 min read · Time & clocks, Distributed systems, Resilience
  Leap seconds do more harm than good for modern computing, and Meta backs an industry push to freeze them at the current 27.

## 2022-07-14

- [Owl: Distributing content at Meta scale](https://swe.quest/articles/owl-distributing-content-at-meta-scale-ad80efffff43f6ba.md): Meta Engineering · 2022-07-14 · Medium · 9 min read · Distributed systems, System design, Caching, Scaling, Networking
  Owl is Meta's system for high-fanout distribution of large hot objects (executables, AI models, search indexes), pairing a decentralized peer-to-peer data plane with a centralized control plane of regional trackers that build ephemeral per-chunk distribution trees.

## 2022-06-08

- [Cache made consistent](https://swe.quest/articles/cache-made-consistent-61a6d7479b73ae8d.md): Meta Engineering · 2022-06-08 · Medium · 13 min read · Caching, Consistency models, Observability, Distributed systems, Debugging
  Meta raised TAO's cache consistency from six nines to ten nines (99.99999999% of cache writes consistent within five minutes) by treating consistency as a measurement and debugging problem rather than only a protocol problem.

## 2022-05-05

- [BellJar: A new framework for testing system recoverability at scale](https://swe.quest/articles/belljar-a-new-framework-for-testing-system-recoverability-at-scale-7811c5029ecc4a97.md): Meta Engineering · 2022-05-05 · Medium · 15 min read · Chaos engineering, Resilience, Testing, SRE, Distributed systems
  BellJar is Meta's framework for proving that infrastructure services can recover from a total outage.

## 2022-05-04

- [Delta: A highly available, strongly consistent storage service using chain replication](https://swe.quest/articles/delta-a-highly-available-strongly-consistent-storage-service-using-chain-578bf4a238261e51.md): Meta Engineering · 2022-05-04 · Medium · 12 min read · Replication, Storage systems, Distributed systems, Consistency models, Resilience
  Delta is Meta's low-dependency object storage service for bootstrap and disaster-recovery workloads such as build and distribution artifacts.

## 2022-04-26

- [Slack’s Incident on 2-22-22](https://swe.quest/articles/slack-s-incident-on-2-22-22-7a35cde32cfb5fd8.md): Slack Engineering · 2022-04-26 · Medium · 12 min read · Incidents & postmortems, Caching, Resilience, MySQL, Distributed systems
  A Consul agent rolling restart caused Mcrib, Slack's memcached control plane, to replace and flush cache nodes, dropping hit rates during peak traffic.

## 2022-01-18

- [FOQS: Making a distributed priority queue disaster-ready](https://swe.quest/articles/foqs-making-a-distributed-priority-queue-disaster-ready-0c0b1a2a20084eae.md): Meta Engineering · 2022-01-18 · Medium · 10 min read · Queues & messaging, Resilience, Replication, Distributed systems, MySQL
  Meta's FOQS distributed priority queue moved from isolated regional installations on semi-synchronous replicated MySQL to a single global installation, after Hurricane Florence in 2018 exposed manual traffic rebalancing and items stuck on unreachable shards.

## 2021-08-30

- [Three Clocks are Better than One](https://swe.quest/articles/three-clocks-are-better-than-one-10703f0b75ab21bf.md): TigerBeetle · 2021-08-30 · Medium · 5 min read · Time & clocks, Distributed systems, Linux
  TigerBeetle builds a fault-tolerant "cluster time" by measuring clock offsets to peers during keepalive probes.

## 2021-04-29

- [Why We Built Our Own DNS Infrastructure](https://swe.quest/articles/why-we-built-our-own-dns-infrastructure-b1c8975cd0ea6aa3.md): Replit · 2021-04-29 · Medium · 4 min read · DNS, Load balancing, Distributed systems, Go
  Replit made its repl hosting cluster-aware by running its own authoritative DNS server for \*.repl.co, which resolves each repl's domain to the proxy load balancer in the cluster hosting that repl.

## 2021-04-20

- [Dynamic ProxySQL Query Rules](https://swe.quest/articles/dynamic-proxysql-query-rules-1a5fc44afbe14316.md): Shopify Engineering · 2021-04-20 · Medium · 10 min read · MySQL, Configuration management, Resilience, Incidents & postmortems, Distributed systems
  Shopify runs thousands of ProxySQL instances in front of MySQL and uses query rules to reroute, rewrite or reject queries matching a regex, often during incidents.

## 2021-03-26

- [Welcome to the Wonderful World of Clusters](https://swe.quest/articles/welcome-to-the-wonderful-world-of-clusters-52a29e1c3fc463f3.md): Replit · 2021-03-26 · Medium · 5 min read · System design, DNS, Resilience, Distributed systems, Cloud platforms
  Replit split its infrastructure into multiple independent clusters (failure domains) after two load-related site-wide outages, moving paid Hacker users into their own cluster so future incidents affect only a subset of users.

[Next page](https://swe.quest/tags/distributed-systems.md?difficulty=medium&per=48&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=distributed-systems](https://swe.quest/feed.xml?difficulty=medium&tag=distributed-systems). 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)
