---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&tag=distributed-systems"
---

# Posts

Filtered by topics: Distributed systems.

Posts 1–91 of 91, page 1 of 1, 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-20

- [Moderation in Spaces](https://swe.quest/articles/moderation-in-spaces-729626456968af1d.md): AT Protocol · 2026-11-20 · Easy · 3 min read · Distributed systems, Privacy, Communications
  AT Protocol spaces reuse atproto's layered moderation model but add a space authority that controls membership and can remove content or exclude accounts from a space.

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

- [Throwing Out The Phonebook](https://swe.quest/articles/throwing-out-the-phonebook-38542538ac98046f.md): Fly.io · 2026-11-13 · Hard · 10 min read · Networking, Linux, Distributed systems, Deployment, System design
  Fly.io rebuilt 6PN, its private IPv6 network between Fly Machines, replacing a fleet-wide eBPF map of every migrated Machine's location (hundreds of thousands of entries kept in sync from Corrosion's gossip-replicated SQLite) with lazy, on-demand routes.

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

- [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-11-05

- [Inside GitHub’s new Git storage architecture](https://swe.quest/articles/inside-github-s-new-git-storage-architecture-014a8644555e81c8.md): GitHub Engineering · 2026-11-05 · Hard · 15 min read · Version control, Storage systems, Distributed systems, Scaling, Replication
  GitHub's new Git storage architecture, Rubicon, rests on one observation: only reference updates need ordering.
- [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.
- [How we continuously validate formal specifications in production](https://swe.quest/articles/how-we-continuously-validate-formal-specifications-in-production-8af79b473bcc3ebf.md): Datadog Engineering · 2026-11-05 · Hard · 16 min read · Formal methods, Testing, Distributed systems, Rust, Observability
  FETCh (Formal Execution Trace Checker) compiles TLA+ specifications into Rust runtime monitors that consume production telemetry and flag any state transition the spec forbids, catching drift between a formal model and the evolving implementation.

## 2026-11-02

- [Scaling Git at OpenAI](https://swe.quest/articles/scaling-git-at-openai-cd141be9cdce804b.md): OpenAI · 2026-11-02 · Hard · 24 min read · Version control, Distributed systems, Consistency models, Scaling, Storage systems
  Pando is OpenAI's new Git backend for its monorepo, built to handle the concurrent pushes and fetches generated by Codex-driven parallel development while staying fully compatible with the Git protocol and client.

## 2026-10-30

- [The federated code forge](https://swe.quest/articles/the-federated-code-forge-2f41a14c31d74342.md): Tangled · 2026-10-30 · Easy · 5 min read · Version control, Distributed systems, System design, Open source
  Tangled is a federated code forge built on the AT Protocol: self-host Git hosting (knots), CI runners (spindles), or the whole API and UI, and still collaborate with everyone else.

## 2026-10-29

- [Introducing Apache Kafka 4.4.0](https://swe.quest/articles/introducing-apache-kafka-4-4-0-40d1e99a1f08e085.md): Confluent · 2026-10-29 · Hard · 7 min read · Queues & messaging, Stream processing, Distributed systems
  Apache Kafka 4.4.0 ships 25 KIPs and 963 commits since 4.3.0.
- [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-10-14

- [Developer Experience Goals for Atproto Spaces](https://swe.quest/articles/developer-experience-goals-for-atproto-spaces-bb9e2607dec0b6d2.md): AT Protocol · 2026-10-14 · Easy · 5 min read · Distributed systems, Identity & auth, Real-time systems, System design
  Atproto spaces, a permissioned-data extension to the AT Protocol, is nearing launch with its core primitives stabilizing, and the team will publish weekly code samples until release.

## 2026-10-12

- [OCP Summit 2026: Powering AI with Open Innovations in Scale-Up, Scale-Out, and Scale-Across Networks](https://swe.quest/articles/ocp-summit-2026-powering-ai-with-open-innovations-in-scale-up-scale-out-and-f66a1a8efcb6358b.md): Meta Engineering · 2026-10-12 · Hard · 11 min read · Networking, Datacenters, Hardware, Distributed systems, Model training
  Meta's OCP 2026 networking lineup centers on IcePack, its first liquid-cooled network rack, and IceCube 102.4T switch blades (128×800G, Tomahawk6C or Spectrum-6, running FBOSS on SAI).

## 2026-10-09

- [Applications are Dead. Long Live Workflows](https://swe.quest/articles/applications-are-dead-long-live-workflows-e0c1a8333768b587.md): DBOS · 2026-10-09 · Easy · 9 min read · System design, Distributed systems, AI agents, Consistency models, Databases
  Middleware should manage workflows rather than applications: the three-tier app server, which replaced two-tier client-DBMS setups in the 1990s to fix connection and memory limits, should evolve into a workflow orchestrator.

## 2026-10-06

- [Building Git infrastructure for agent-scale development](https://swe.quest/articles/building-git-infrastructure-for-agent-scale-development-3f8b84d59639a2ff.md): GitHub Engineering · 2026-10-06 · Easy · 8 min read · Version control, Distributed systems, Scaling, Replication, Storage systems
  GitHub is rebuilding its Git storage layer because agent-driven workloads are colliding with the design of Spokes.

## 2026-08-20

- [The Atproto Spaces Alpha is Live](https://swe.quest/articles/the-atproto-spaces-alpha-is-live-f1a3a95d9e63e57f.md): AT Protocol · 2026-08-20 · Easy · 6 min read · Identity & auth, Distributed systems, Open source
  Atproto spaces, a new protocol primitive for storing and syncing non-public data, are now available as an alpha with a hosted PDS, a spaces-capable Docker image, alpha TypeScript SDKs and a sample bulletin-board app.

## 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-08-04

- [Mixture-of-Kittens: our open-source MoE megakernel for NVL72s · Cursor](https://swe.quest/articles/mixture-of-kittens-our-open-source-moe-megakernel-for-nvl72s-cursor-5e755f72be7eb1f1.md): Cursor · 2026-08-04 · Hard · 23 min read · Model training, Hardware, Performance engineering, Distributed systems, Open source
  Mixture-of-Kittens (MoK) is an open-source, fully deterministic MoE training megakernel for GB300 NVL72 racks that fuses dispatch, expert FFN and combine communication into a single kernel.

## 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-06-23

- [ParallelKernelBench: Frontier LLMs can't write fast multi-GPU kernels (yet)](https://swe.quest/articles/parallelkernelbench-frontier-llms-can-t-write-fast-multi-gpu-kernels-yet-416eb937565c8218.md): Together AI · 2026-06-23 · Hard · 10 min read · AI for coding, Evaluation, Hardware, Performance engineering, Distributed systems
  ParallelKernelBench is a benchmark of 87 multi-GPU problems drawn from Megatron-LM, DeepSpeed, DeepEP, TensorRT-LLM, NeMo-RL and non-LLM workloads.

## 2026-06-12

- [A low-carbon computing platform from your retired phones](https://swe.quest/articles/a-low-carbon-computing-platform-from-your-retired-phones-14167f3b5e579321.md): Google Research · 2026-06-12 · Easy · 5 min read · Hardware, Datacenters, Kubernetes, Distributed systems
  Retired smartphone motherboards can be stripped of displays, batteries and peripherals, reflashed with a general-purpose Linux distro, and organized into Kubernetes-managed clusters to serve as low-carbon cloud compute.

## 2026-05-27

- [Shipping a Trillion Parameters With a Hub Bucket: Delta Weight Sync in TRL](https://swe.quest/articles/shipping-a-trillion-parameters-with-a-hub-bucket-delta-weight-sync-in-trl-5d3970ad53bc1dc5.md): Hugging Face · 2026-05-27 · Hard · 17 min read · Model training, Inference & serving, Distributed systems, Storage systems
  Between consecutive RL optimizer steps, about 99% of bf16 weights stay bit-identical because Adam updates at RL learning rates fall below bf16's rounding threshold (|Δw| \< |w|/256).

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

- [Kubernetes v1.36: Server-Side Sharded List and Watch](https://swe.quest/articles/kubernetes-v1-36-server-side-sharded-list-and-watch-61238fc675ddead5.md): Kubernetes Blog · 2026-05-06 · Hard · 3 min read · Kubernetes, Scaling, Distributed systems
  Kubernetes v1.36 adds alpha server-side sharded list and watch (KEP-5866), letting the API server filter list responses and watch events so each horizontally scaled controller replica receives only its slice of a resource collection instead of deserializing and discarding the full stream.

## 2026-03-10

- [Keep the Tokens Flowing: Lessons from 16 Open-Source RL Libraries](https://swe.quest/articles/keep-the-tokens-flowing-lessons-from-16-open-source-rl-libraries-14bbb97951dedd55.md): Hugging Face · 2026-03-10 · Hard · 45 min read · Model training, Distributed systems, Inference & serving, LLMs
  Async RL post-training libraries have converged on one architecture: disaggregate inference and training onto separate GPU pools, connect them with a rollout buffer, and push weights asynchronously so generation never stops and training never waits.

## 2026-03-09

- [Ulysses Sequence Parallelism: Training with Million-Token Contexts](https://swe.quest/articles/ulysses-sequence-parallelism-training-with-million-token-contexts-a21775c0b516e85a.md): Hugging Face · 2026-03-09 · Hard · 13 min read · Model training, LLMs, Distributed systems, Hardware
  Ulysses Sequence Parallelism, part of Snowflake's Arctic Long Sequence Training protocol, enables training on contexts of hundreds of thousands to millions of tokens.

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

- [RCCLX: Innovating GPU Communications on AMD Platforms](https://swe.quest/articles/rcclx-innovating-gpu-communications-on-amd-platforms-cbbc7a0f8ee29a3b.md): Meta Engineering · 2026-02-24 · Hard · 5 min read · Inference & serving, Hardware, Performance engineering, Open source, Distributed systems
  Meta is open-sourcing RCCLX, an enhanced fork of AMD's RCCL collective communication library integrated with the Torchcomms API, bringing its CTran transport (including the GPU-resident AllToAllvDynamic collective) to AMD GPUs.

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

## 2026-01-09

- [Building a Global, Event-Driven Platform: Our Ongoing Journey, Part 2](https://swe.quest/articles/building-a-global-event-driven-platform-our-ongoing-journey-part-2-886bb4541a59b67d.md): Vinted Engineering · 2026-01-09 · Easy · 5 min read · Event-driven architecture, Replication, System design, Distributed systems, Engineering culture
  Vinted runs its global marketplace with all writes in a single primary site and read-only projections replicated to other regions, rather than sharding primary data across regions in a multi-writer setup.

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

- [A Tale Of Four Fuzzers](https://swe.quest/articles/a-tale-of-four-fuzzers-88cabf77780814b8.md): TigerBeetle · 2025-11-28 · Hard · 32 min read · Testing, Replication, Distributed systems, Formal methods, Zig
  TigerBeetle's Adaptive Replication Routing (ARR) puts the primary in the middle of a replication ring so no single dropped message is critical.

## 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-10-17

- [Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism](https://swe.quest/articles/scaling-llm-inference-innovations-in-tensor-parallelism-context-parallelism-and-0ffa604a22d7428d.md): Meta Engineering · 2025-10-17 · Hard · 5 min read · Inference & serving, LLMs, Distributed systems, Performance engineering, Hardware
  Meta scales LLM inference with three parallelism techniques aimed at latency targets of under 350ms time-to-first-token and under 25ms per incremental token.

## 2025-09-29

- [Meta’s Infrastructure Evolution and the Advent of AI](https://swe.quest/articles/meta-s-infrastructure-evolution-and-the-advent-of-ai-5db1ff27f9423ca7.md): Meta Engineering · 2025-09-29 · Easy · 17 min read · Datacenters, Model training, Hardware, Scaling, Distributed systems
  Meta's infrastructure grew from a LAMP stack with per-university databases to a global fleet of millions of machines.

## 2025-08-08

- [Accelerate ND-Parallel: A guide to Efficient Multi-GPU Training](https://swe.quest/articles/accelerate-nd-parallel-a-guide-to-efficient-multi-gpu-training-b84f16c2d8888d39.md): Hugging Face · 2025-08-08 · Hard · 18 min read · Model training, Distributed systems, Python
  Accelerate's ParallelismConfig, also exposed through Axolotl config fields, lets you compose data parallelism, FSDP, tensor parallelism and context parallelism in one training setup.

## 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-11-20

- [How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems](https://swe.quest/articles/how-we-use-formal-modeling-lightweight-simulations-and-chaos-testing-to-design-aca03cf9b6abf48d.md): Datadog Engineering · 2024-11-20 · Hard · 23 min read · Formal methods, Queues & messaging, Distributed systems, Chaos engineering, Multi-tenancy
  Datadog validated the design of Courier, a multi-tenant message queue built on multiple FoundationDB clusters after its March 2023 outage, by combining TLA+ formal modeling, lightweight simulations and chaos testing.

## 2024-07-22

- [Bonree replaces ZooKeeper with ClickHouse Keeper for drastically improved performance and reduced costs](https://swe.quest/articles/bonree-replaces-zookeeper-with-clickhouse-keeper-for-drastically-improved-6eee02db0b20c225.md): ClickHouse · 2024-07-22 · Hard · 11 min read · Analytics & OLAP, Consensus, Distributed systems, Observability, Cost optimization
  Bonree migrated the coordination layer of its ClickHouse-based observability platform from five 3-node ZooKeeper clusters to a single ClickHouse Keeper cluster.

## 2024-06-12

- [How Meta trains large language models at scale](https://swe.quest/articles/how-meta-trains-large-language-models-at-scale-c827e36c67bd0ee6.md): Meta Engineering · 2024-06-12 · Easy · 6 min read · Model training, Networking, Hardware, Datacenters, Distributed systems
  Training LLMs at Meta shifted workloads from many small recommendation jobs to a few enormous GPU jobs, forcing changes across hardware, data center layout, reliability, networking and storage.

## 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-08-04

- [This Week at Zed Industries: #14](https://swe.quest/articles/this-week-at-zed-industries-14-199a97b20076bb41.md): Zed · 2023-08-04 · Easy · 6 min read · Distributed systems, Replication, Data structures, Developer tools, Rust
  Zed's weekly update covers a reworked search UI with semantic search, the start of WebAssembly extensions for custom language servers, and near-complete collaboration channels.

## 2023-07-06

- [Simulation Testing For Liveness](https://swe.quest/articles/simulation-testing-for-liveness-7a5ba398eed57d56.md): TigerBeetle · 2023-07-06 · Hard · 4 min read · Formal methods, Testing, Consensus, Distributed systems, Resilience
  TigerBeetle's VOPR simulator now has a "liveness" mode alongside its "safety" mode, because uniformly random, eventually-healing faults can never surface livelocks such as a permanently asymmetric partition that triggers endless view changes.

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

- [Husky: Exactly-once ingestion and multi-tenancy at scale](https://swe.quest/articles/husky-exactly-once-ingestion-and-multi-tenancy-at-scale-e0787135af05f4f3.md): Datadog Engineering · 2023-02-22 · Hard · 21 min read · Multi-tenancy, Distributed systems, Stream processing, Queues & messaging, Analytics & OLAP
  Husky, Datadog's columnar event store, achieves exactly-once ingestion and cost-efficient multi-tenancy by routing events deterministically to Kafka partition groups (shards), so deduplication only has to happen within a shard.

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

- [2022-07-18 incident update](https://swe.quest/articles/2022-07-18-incident-update-8b65cdaf199f852d.md): Deno · 2022-07-18 · Easy · 2 min read · Incidents & postmortems, Distributed systems, Load balancing
  A 65-minute outage on July 18, 2022 took down all Deno Deploy services, including subhosting, deno.com and deno.land module downloads.

## 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.
- [The Technology Behind BLOOM Training](https://swe.quest/articles/the-technology-behind-bloom-training-8acc1cff08e9a54f.md): Hugging Face · 2022-07-14 · Hard · 25 min read · Model training, LLMs, Distributed systems, Hardware
  BLOOM, a 176B-parameter multilingual GPT-3-style model, was trained over 3.5 months on 384 A100 80GB GPUs on the Jean Zay supercomputer using Megatron-DeepSpeed's 3D parallelism.

## 2022-06-08

- [Introducing Zelos: A ZooKeeper API leveraging Delos](https://swe.quest/articles/introducing-zelos-a-zookeeper-api-leveraging-delos-60e2ce96bff76564.md): Meta Engineering · 2022-06-08 · Hard · 13 min read · Consensus, Distributed systems, Replication, Consistency models, Time & clocks
  Meta built Zelos, a ZooKeeper-compatible service on top of the Delos replicated-shared-log platform, to replace ZooKeeper clusters whose design ties application state to the ZAB consensus protocol and resists scaling changes.
- [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-03-07

- [Augmenting Flexible Paxos in LogDevice to improve read availability](https://swe.quest/articles/augmenting-flexible-paxos-in-logdevice-to-improve-read-availability-1636941d1f8188f4.md): Meta Engineering · 2022-03-07 · Hard · 10 min read · Consensus, Distributed systems, Replication, Resilience
  LogDevice, Meta's distributed log store built on flexible Multi-Paxos, removed a core Flexible Paxos trade-off.

## 2022-01-27

- [Living without atomic clocks: Where CockroachDB and Spanner diverge](https://swe.quest/articles/living-without-atomic-clocks-where-cockroachdb-and-spanner-diverge-d4e6d0cdd53bad94.md): Cockroach Labs · 2022-01-27 · Hard · 10 min read · Consistency models, Time & clocks, Distributed databases, Distributed systems
  CockroachDB borrows Spanner's TrueTime-inspired approach to ordering distributed transactions but replaces atomic-clock-bounded certainty with a looser uncertainty interval and uncertainty restarts.

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

- [Motivating global stabilization](https://swe.quest/articles/motivating-global-stabilization-bf22ab61d8a73e1a.md): Trail of Bits · 2021-11-11 · Hard · 13 min read · Consensus, Distributed systems, Formal methods
  The global stabilization time (GST) assumption from Dwork, Lynch and Stockmeyer's partial-synchrony paper looks unrealistic, but it is both elegant and practically meaningful.

## 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-08-18

- [RAMP-TAO: Layering atomic transactions on Facebook’s online graph store](https://swe.quest/articles/ramp-tao-layering-atomic-transactions-on-facebook-s-online-graph-store-470552a388260a08.md): Meta Engineering · 2021-08-18 · Hard · 2 min read · Consistency models, Distributed databases, Caching, Distributed systems
  RAMP-TAO is a protocol that layers read-atomic transactional guarantees on top of TAO, Facebook's eventually consistent social graph store, so developers get an intuitive read transaction API without handling fractured-read anomalies.

## 2021-07-15

- [Deep Learning over the Internet: Training Language Models Collaboratively](https://swe.quest/articles/deep-learning-over-the-internet-training-language-models-collaboratively-ae8a89a2717272e4.md): Hugging Face · 2021-07-15 · Hard · 14 min read · Model training, Distributed systems, LLMs
  DeDLOC is a collaborative distributed training method that lets volunteers with heterogeneous GPUs and home Internet connections jointly pretrain language models.

## 2021-06-21

- [Consolidating Facebook storage infrastructure with Tectonic file system](https://swe.quest/articles/consolidating-facebook-storage-infrastructure-with-tectonic-file-system-c39a29ca15677e82.md): Meta Engineering · 2021-06-21 · Easy · 2 min read · Storage systems, Distributed systems, Multi-tenancy, Scaling
  Tectonic is Facebook's data-center-scale distributed file system that replaces a set of use-case-specific storage systems, each scaling to tens of petabytes, with exabyte-scale clusters serving an entire data center.

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

## 2021-03-22

- [Cutting Threads’ send latency in half](https://swe.quest/articles/cutting-threads-send-latency-in-half-8bdebcb999eebcc4.md): Meta Engineering · 2021-03-22 · Medium · 4 min read · Performance engineering, Caching, Load balancing, Distributed systems
  Instagram's Threads messaging app cut media send latency in half, partly by fixing a "configure" endpoint that ran four times slower in one region.

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