Topic

Distributed Systems

Distributed systems discussions covering consensus algorithms, CAP theorem, fault tolerance, and architectural patterns from developer communities.

What this topic tracks

  • Language and framework updates
  • API, architecture, and deployment patterns
  • Performance, reliability, and production lessons

Distributed Systems · 260 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Understanding the Go Runtime: The Scheduler

internals-for-interns.com · 9 Mar

Distributed Systems · Go · Software Architecture

This article explores the Go scheduler's GMP model, detailing how Goroutines (G), OS Threads (M), and Processors (P) interact.

It explains the scheduling loop, work-stealing, and cooperative preemption mechanisms that enable efficient concurrency. By decoupling execution contexts from threads, Go minimizes overhead and maximizes CPU utilization for millions of goroutines.

Read_once(), Write_once(), but Not for Rust

lwn.net · 9 Jan

Distributed Systems · Linux · Rust

The Linux kernel community is currently debating the implementation of concurrency primitives in Rust, specifically whether to port the standard C READ_ONCE() and WRITE_ONCE() macros.

These macros are widely used in C to prevent compiler optimizations that could break lockless algorithms by ensuring single, atomic memory accesses. However, Rust developers are leaning toward a different approach, preferring the use of the Linux kernel memory model (LKMM) via the Atomic crate. Advocates argue that Rust’s atomic operations provide clearer semantic intent by separating atomicity from ordering constraints, whereas the C macros are often seen as 'band-aids' with ambiguous meanings. This divergence highlights a potential long-term architectural split where C and Rust code within the same kernel handle shared data differently, requiring developers to master two distinct sets of concurrency APIs.

What is Plan 9?

fqa.9front.org · 22 Jun

Distributed Systems · History · Operating Systems

Plan 9 is an innovative research operating system developed by the creators of UNIX at Bell Labs in the late 1980s.

It was designed to evolve the UNIX philosophy by treating all system resources as files and implementing per-process namespaces. These abstractions facilitate a distributed computing environment where CPU servers, file servers, and terminals interact seamlessly over a network. Despite its technical elegance and simplicity, Plan 9 struggled with commercial adoption due to restrictive licensing histories, lack of modern web browser support, and a fragmented community of forks like 9front, 9legacy, and Plan 9 from User Space. Today, its legacy persists through these specialized derivatives and its influence on distributed systems, even as many of its original developers have moved on to other major technology firms.

The agent harness belongs outside the sandbox

mendral.com · 2 May

Distributed Systems · Large Language Models · AI Agents

Running an agent harness outside the sandbox offers key advantages for multi-user LLM systems, including secure credential handling and efficient resource management.

By using durable execution, rapid sandbox lifecycle management, and a virtualized filesystem that maps paths to a database, teams can deliver consistent, scalable agent behavior while maintaining compatibility with standard LLM training conventions.

Cell-based architecture for resilient payment systems

americanexpress.io · 15 Jun

Distributed Systems · Microservices · Software Architecture

American Express utilizes a cell-based architecture to enhance the resiliency and scalability of its global payments platform.

By isolating microservices and data into independent cells, the system restricts the impact of failures. Deterministic routing and asynchronous data handling ensure low-latency processing, while strict boundary enforcement prevents cross-cell dependencies, maintaining high availability for mission-critical operations.

SBCL Fibers – Lightweight Cooperative Threads

atgreen.github.io · 14 Mar

Backend · Distributed Systems · Software Architecture

This document details the implementation of lightweight cooperative userland threads, called fibers, for SBCL.

It covers the programming API, architecture, work-stealing scheduler, and GC integration. Fibers aim to enhance scalability for I/O-heavy workloads by providing a sequential programming model with significantly lower memory and context-switch overhead than OS threads across multiple architectures.

gRPC: From service definition to wire format

kreya.app · 9 Feb

Backend · Distributed Systems · Microservices

A technical exploration of gRPC, covering the contract-first approach using Protocol Buffers and its four streaming models.

It details transport via HTTP/2, including URL construction, metadata, length-prefixed framing, and binary wire formats. The article also explains error handling with trailers, compression mechanisms, and adaptations like gRPC-Web for browsers.

Job queues are deceptively tricky

typesanitizer.com · 14 Jul

Backend · Distributed Systems · Software Architecture

Job queues, while appearing simple, involve complex trade-offs in scheduling and concurrency.

Effective system design requires understanding queue dynamics, setting explicit limits, and defining clear fault models. Choosing between 'Prefer New', 'Wait', or 'Prefer Old' semantics is critical, as simplistic assumptions can lead to system degradation or inefficiencies during varying workloads, such as weekend versus weekday repacking tasks.

How London cracked mobile phone coverage on the Underground

ianvisits.co.uk · 13 Jan

Distributed Systems · Mobile · News

London is successfully implementing comprehensive mobile phone coverage across its historic Underground network through a partnership with Boldyn Networks.

This massive infrastructure project utilizes centralized data centers known as 'hotels' to house equipment for major mobile providers, overcoming the physical space constraints of old stations. The deployment involves over 800km of cabling, 'leaky feeder' cables for tunnel signals, and hundreds of master cabinets. Beyond consumer convenience, the network is legally critical as it integrates the government's Emergency Services Network (ESN). Despite challenges such as fire safety regulations, extreme heat, and limited overnight work windows, nearly half of the Underground is already covered. The project aims for near-total completion by early 2025, providing seamless 4G and 5G connectivity even in deep-level tunnels.

World's First(?) Underwhelming AMD Ryzen AI Halo Cluster

lttlabs.com · 24 Jul

Artificial Intelligence · Distributed Systems · Large Language Models

This article explores clustering two AMD Ryzen AI Halos using Remote Procedure Calls (RPC) via llama.cpp.

By networking the units via ethernet or USB-C, the authors tested model performance and pipeline parallelism. Results indicate that clustering primarily benefits memory capacity for large models, while network bandwidth above 10 Gbps provides diminishing returns for latency.

A Botnet Accidentally Destroyed I2P

sambent.com · 21 Feb

Cybersecurity · Distributed Systems · Encryption

In February 2026, the I2P network suffered a massive Sybil attack from the Kimwolf botnet, which deployed 700,000 hostile nodes.

Originally mistaken for state-sponsored interference, the disruption was an accidental consequence of botnet command-and-control operations. I2P responded by releasing version 2.11.0, featuring post-quantum encryption and advanced Sybil mitigations.

Continuous reinvention: Volumes that fit

allthingsdistributed.com · 3 Dec

AWS · Backend · Distributed Systems · Software Architecture

Amazon EBS launched Adaptive Volumes, which charge for bytes written rather than provisioned capacity, eliminating the need to right-size volumes.

The feature combines a decade of systems work: Physalia tracks volume partitions and extents, placement moves data across servers, and Block Express maps logical addresses to physical storage. Filesystems notify EBS through TRIM (NVMe Deallocate) when blocks are freed, enabling safe deallocation and savings, though preallocated database files may not release space.

Show HN: PicoMQ – Durable Streams over HTTP, on object storage

picomq.com · 24 Aug

Backend · Distributed Systems · Software Architecture

PicoMQ provides durable, real-time streams over HTTP using S3-compatible object storage.

Its architecture creates one independently addressable stream per use case rather than consolidating records into a shared topic. Each stream is effectively bottomless and scales elastically from idle operation to high throughput, offering a flexible foundation for event-driven systems.

We Rebuilt the Linux MicroVM Stack on Apple Silicon

encore.dev · 18 Aug

Backend · Distributed Systems · Software Architecture

Encore replaced remote Firecracker build infrastructure with crackling, a cross-platform Rust daemon/CLI that boots OCI images as microVMs using Firecracker on Linux and Apple's Virtualization.framework on macOS.

It implements shared machine APIs, userspace image conversion, kernel/initramfs handling, vsock guest agents, networking, caching, and snapshots, enabling native laptop debugging and eliminating SSH-based workflows.

vLLM large scale serving: DeepSeek 2.2k tok/s/h200 with wide-ep

blog.vllm.ai · 17 Dec

Distributed Systems · Large Language Models · Performance

vLLM has officially transitioned to its V1 engine architecture, achieving a record throughput of 2.2k tokens per second per H200 GPU for DeepSeek-style Mixture-of-Experts (MoE) models.

This performance gain is driven by radical optimizations including Wide Expert Parallelism (Wide-EP), which maximizes KV cache efficiency for Multi-head Latent Attention (MLA), and Dual-batch Overlap (DBO) to mitigate communication bottlenecks. Additionally, Expert Parallel Load Balancing (EPLB) and disaggregated serving strategies further enhance stability and utilization. The update underscores vLLM's position as a production-ready inference leader supported by a massive contributor community.

Internet centralization and the original sin of NAT

dreamstation.systems · 31 Aug

Cloud Computing · Distributed Systems

NAT addressed IPv4 address scarcity by letting multiple devices share one public address, but it broke the Internet’s original peer-to-peer model.

Port forwarding, UPnP, STUN, TURN, and ICE are imperfect workarounds, while CGNAT further restricts hosting. Despite IPv6, NAT remains widespread, encouraging centralized cloud services and making personal servers costly or difficult.

The Problem That Built an Industry

ajitem.com · 8 Apr

Distributed Systems · History · Business

Global flight booking relies on the 1960s-era Transaction Processing Facility (TPF) mainframe OS.

Despite evolving architectures like Amadeus and Navitaire, legacy foundations remain crucial for their high-throughput, sub-millisecond efficiency. This series explores how these systems maintain massive global travel operations, emphasizing that purpose-built, long-standing software often outperforms modern, fashionable alternatives in specialized, high-volume environments.

On a Boat

moq.dev · 14 Mar

Artificial Intelligence · Distributed Systems · Software Architecture

Saronic utilizes MoQ (Media over QUIC) to optimize video transmission on bandwidth-constrained vessels.

Unlike traditional push-based protocols, MoQ is pull-based, allowing for granular, priority-weighted track subscriptions. This architecture enables efficient scaling via CDNs, supports intelligent AI-driven stream selection, and utilizes QUIC's path migration for robust, multi-path connectivity in challenging environments.

Blacksky AppView

github.com · 8 Mar

Backend · Distributed Systems · Software Architecture

Blacksky has released a fork of Bluesky's AT Protocol reference implementation, designed for high-scale AppView performance.

It replaces the TypeScript firehose consumer with rsky-wintermute, a Rust indexer, achieving significantly faster backfill speeds. Key enhancements include PostgreSQL LATERAL JOIN optimizations, Redis caching, and infrastructure for private community posts.

Where it came fromHacker NewsLobstersRedditAll Things DistributedCreate a Snapbyte.dev digest and choose Distributed Systems as one of your topics.Build your digest