Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Distributed systems

Distributed systems

Coordination and failure across multiple machines (general).

Search within Distributed systems, or combine it with other topics →

November 2026

October 2026

August 2026

July 2026

June 2026

May 2026

March 2026

February 2026

January 2026

Together AI

Inside multi-node training: How to scale model training across GPU clusters

How-to 4 min +40 XP

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.

December 2025

Patterns & Best Practices in Event-Driven Systems

Deep dive 5 min +50 XP

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.

Getting from tested to battle-tested

Case study 13 min +130 XP

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.

November 2025

October 2025

September 2025

August 2025

June 2025

How we scaled fast, reliable configuration distribution to thousands of workload containers

Case study 13 min +130 XP

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.

May 2025

February 2025

Achieving relentless Kafka reliability at scale with the Streaming Platform

Case study 10 min +100 XP

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.

November 2024

How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems

Case study 23 min +230 XP

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.

July 2024

June 2024

May 2024

February 2024

Replit

Sharding Infrastructure: The Regional Goval Project

Case study 7 min +70 XP

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.

January 2024

December 2023

September 2023

August 2023

July 2023

April 2023

Slack Engineering

Real-time Messaging

Case study 6 min +60 XP

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.

March 2023

February 2023

January 2023

September 2022

July 2022

June 2022

May 2022

April 2022

March 2022

January 2022

Meta Engineering

FOQS: Making a distributed priority queue disaster-ready

Case study 10 min +100 XP

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.

November 2021

August 2021

July 2021

June 2021

April 2021

March 2021

The quest for software engineering knowledge.

Look:
Layout: