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

Reticulum – Decentralized Mesh Network

reticulum.network · 16 Aug

Cybersecurity · Distributed Systems · Encryption

Reticulum is a cryptography-based networking stack that uses readily available hardware to build secure local or wide-area networks, even under extreme latency and bandwidth constraints.

It enables autonomous, interoperable network segments without centralized control, surveillance, censorship, or kill-switches, giving communities and individuals sovereignty over resilient communications ranging from small deployments to planetary-scale systems.

A most elegant TCP hole punching algorithm

robertsdotpm.github.io · 15 Mar

Algorithms · Distributed Systems · Python

This article explores an elegant TCP hole punching algorithm that eliminates the need for complex infrastructure like STUN or NTP synchronization.

By using deterministic 'buckets' derived from unix timestamps and pseudo-random port selection, it allows two machines behind NAT to connect using non-blocking sockets and aggressive SYN packet transmission without prior metadata exchange.

Show HN: Wyzer Programming Language

github.com · 7 Aug

Distributed Systems · Programming Languages · Computer Science

Wyzer is a statically typed, compiled, resource-oriented programming language designed to unify memory, thread, and network safety under a single ownership rule.

Utilizing Perceus reference counting and choreographic programming, it aims to deliver memory safety without the complexity of traditional borrow checkers or garbage collection, simplifying distributed system development.

The unlikely story of Teardown Multiplayer

blog.voxagon.se · 13 Mar

Distributed Systems · Performance · Software Architecture

Teardown developers overcame significant technical hurdles to implement multiplayer in a fully destructible, voxel-based environment.

Their solution uses a hybrid approach: deterministic commands for structural destruction and eventual consistency state synchronization for moving objects. The team balanced this with complex merging, backwards compatibility, and support for late-joining players, all while managing development across multi-process debugging environments.

rivet-dev/rivet

github.com · 5 Nov

Backend · Distributed Systems · JavaScript · Software Architecture · AI Agents

Rivet is an open-source orchestrator for agentic and other stateful workloads, built around Rivet Actors: long-lived processes combining in-memory state, SQLite, WebSockets, scheduling, and hibernation.

Actors share node processes, delivering 4.99 ms p99 cold starts and 72 KB RAM each, while durable data is stored in S3, enabling scale to billions with low storage costs. The platform includes typed SDKs, workflows, sandbox integrations, fault tolerance, and self-hosted, cloud, or BYOC deployment without databases or message buses.

Instant 1.0, a backend for AI-coded apps

instantdb.com · 9 Apr

Backend · Distributed Systems · Software Architecture

Instant is an open-source, multi-tenant backend platform designed for AI-coded apps.

It provides a real-time sync engine with offline capabilities, built-in auth, and file storage. Its architecture uses a Triple store in Postgres, an InstaQL query language, and a Clojure-based backend to manage reactive queries efficiently through a unique multi-tenant infrastructure.

Artifacts: Versioned storage that speaks Git

blog.cloudflare.com · 16 Apr

Artificial Intelligence · Cloud Computing · Distributed Systems

Artifacts is a new distributed, versioned filesystem designed for AI agents, enabling programmatic Git repository management.

Built on Cloudflare Workers and Durable Objects using a custom Zig-based WASM engine, it supports millions of isolated, scalable environments. ArtifactFS further optimizes startup times for large repositories by providing asynchronous, lazy-loading filesystem mounting for high-performance agent workflows.

Five Years of Running a Systems Reading Group at Microsoft

armaansood.com · 22 Mar

Career · Distributed Systems · Productivity

A Microsoft engineer reflects on five years of leading a systems reading group.

Initially focused on database internals, the group evolved through guided series and broader topics like datacenter foundations. The author outlines strategies for success, emphasizing consistency, organic scope growth, collaborative learning environments, and the long-term value of building professional connections across the organization.

The Valley of Webhooks

weli.dev · 5 Aug

Backend · Distributed Systems · Software Architecture

Webhooks are often misused to replicate data, forcing developers to build complex, brittle systems to handle ordering, deduplication, and reconciliation.

The author argues for a transition to cursor-based, ordered change logs (SCROLL) that allow consumers to pull reliable, verifiable state, moving away from the unreliable push-based model that currently dominates API integrations.

Nostr is an inclusive communication commons

nostr.org · 22 Aug

Distributed Systems · Software Architecture · Open Source

Nostr is an open-source, decentralized protocol where smart clients publish cryptographically signed notes to multiple relays.

Users control identities and can switch relays without losing audiences, enabling resilient communication, communities, search, algorithms, and diverse applications. Its trade-offs include spam, harassment, discovery, moderation, and immature user experience; unlike Mastodon and Bluesky, it uses a multi-master architecture without a canonical server.

The Zen of Parallel Programming

smolnero.com · 14 Jul

Distributed Systems · Psychology · Philosophy

Drawing parallels between parallel programming and human consciousness, this article explores how efficiency depends on coordination over raw power.

Just as processors must synchronize to avoid bottlenecks, individuals must align their thoughts, emotions, and actions to avoid internal burnout. The author argues that achieving 'wholehearted' states requires overcoming the fragmentation of our own mental processes.

Software Internals Book Club

eatonphil.com · 12 May

Database · Distributed Systems · Education

A global email-based book club with over 2,500 members focuses on advanced technical literature like "Operating Systems: Three Easy Pieces."

The group facilitates asynchronous, text-based discussions moderated by expert leaders. Aimed at developers of all levels, the initiative promotes deep study of databases, distributed systems, and software performance through community collaboration.

Diskless Linux boot using ZFS, iSCSI and PXE

aniket.foo · 5 May

Distributed Systems · Linux · Serverless

This guide details how to boot Debian over a network using iSCSI and Netboot.xyz.

By separating the OS from local hardware using a remote storage ZFS ZVol, the author avoids dual-booting conflicts and hardware repartitioning on their gaming PC. The setup involves configuring TFTP, DNSMasq, and iSCSI targets on a Proxmox host for a remote networked server installation.

Reports of Telnet's death have been greatly exaggerated

terracenetworks.com · 11 Feb

Cybersecurity · Distributed Systems · News

Reports suggesting core ISPs are blocking Telnet traffic following recent security vulnerabilities are likely inaccurate.

Analysis from Terrace, using RIPE Atlas and internal sensor data, shows no evidence of widespread port 23 filtering. The observed traffic drop in other reports may result from measurement artifacts, session counting methods, or threat actors intentionally avoiding specific monitoring infrastructure.

Show HN: AI agents play SimCity through a REST API

hallucinatingsplines.com · 9 Feb

Distributed Systems · Performance · Computer Science

The simulation system is currently running, managing a population of over 8.4 million across 463 cities.

Key updates include high residential demand, decreased crime rates, and power plants coming online. Despite localized traffic issues and a downtown monster sighting, major city portals remain connected with forty-five mayors actively registered within the network.

Like Game-of-Life, but on Growing Graphs, with WASM and WebGL

znah.net · 8 Feb

Algorithms · Distributed Systems · Computer Science

This project explores an experimental simulation of emergent complexity inspired by Paul Cousin’s research on Graph-Rewriting Automata.

By utilizing specific local topological rules, the system demonstrates how complex global patterns can arise from simple structural transformations. Unlike traditional cellular automata which operate on static grids, this approach employs dynamic graphs where nodes and edges evolve based on rewriting logic. This simulation serves as a bridge between computer science and mathematical theory, offering insights into how self-organizing systems function within computational frameworks. The work highlights the potential for non-linear growth and structural evolution in distributed systems and algorithmic design.

Declarative Event Streaming on Kubernetes at a Billion Events a Day

engineering.zalando.com · 1 Dec

Backend · DevOps · Distributed Systems · Kubernetes · Software Architecture

Zalando’s Fabric Event Streams (FES) is a Kubernetes-native declarative platform that moves and transforms events while keeping progress in source systems, making connector pods disposable and resilient to crashes.

Its operator manages resources, stateless connectors consume Postgres, DynamoDB Streams, or Nakadi, and typed Source, Flow, Sink, and Recovery contracts support fan-out and dead-lettering. FES runs about 1,100 pods across 80 clusters, processing over a billion events daily and peaking above 9,000 events per second per connector, with at-least-once delivery and source-retention trade-offs.

How we scaled metrics aggregation by moving durable state into storage

datadoghq.com · 17 Nov

Backend · Big Data · Distributed Systems · Observability · Software Architecture

Datadog scaled metrics aggregation through three generations by moving durable state from fixed consumers into storage.

The first design used static partition ownership and local RocksDB; the second added dynamic Kafka assignment with blob-backed state recovery, supporting about 10× more volume but making restoration the bottleneck. The third uses best-effort streaming while timeseries storage deduplicates, merges partial aggregates, and incorporates late data, allowing workers to resume at the live edge without restoring hours of historical state.

Choosing QuePaxa, an unusual consensus algorithm

blog.cloudflare.com · 11 Nov

Algorithms · Backend · Distributed Systems · Software Architecture · Computer Science

Cloudflare chose QuePaxa for Meerkat, an experimental global consensus service whose replicas maintain an ordered event log.

Unlike leader-dependent Raft or Paxos variants, QuePaxa uses an optional leader, randomized proposal priorities, recorder majorities, and cooperative adoption, allowing progress through latency spikes, disconnections, and leader failures without fault detection. It offers a one-round-trip leader fast path and slower fallback rounds. Global evaluations showed Meerkat continued processing requests without stalling, though throughput temporarily declined after leader failure.

Inside Hyperdrive: How we solved a rare Hyperdrive MySQL caching bug

blog.cloudflare.com · 14 Oct

Backend · Database · Distributed Systems · MySQL · Software Architecture

Cloudflare made Hyperdrive’s MySQL support generally available after fixing reliability issues, including a rare caching bug that caused empty query results or hangs.

Hyperdrive’s Client and Endpoint could share a CDN cache while encoding MySQL responses for different negotiated capabilities, especially CLIENT_DEPRECATE_EOF; either node could read bytes in the other’s format. Cloudflare fixed this by storing canonical result bytes encoded with Hyperdrive’s capabilities, eliminating the empty-row issue and raising Client connection success to 99.99%. It also corrected UTF-8 handling with utf8mb4.

Where it came fromHacker NewsCloudflare BlogLobstersZalando EngineeringDatadog EngineeringCreate a Snapbyte.dev digest and choose Distributed Systems as one of your topics.Build your digest