---
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=12&tag=distributed-databases"
---

# Posts

Filtered by topics: Distributed databases.

Posts 1–12 of 65, page 1 of 6, newest first.

## 2026-11-23

- [Why you shouldn't do application-level sharding](https://swe.quest/articles/why-you-shouldn-t-do-application-level-sharding-4fe6249c12df9221.md): PlanetScale · 2026-11-23 · Medium · 21 min read · Distributed databases, Scaling, Consistency models, Schema migrations, PostgreSQL
  Application-level sharding of an OLTP database looks simple on day one (a \`shard\_for(user\_id % N)\` function) but accumulates serious engineering burdens as a system grows.

## 2026-11-09

- [Zero-Copy Migration: How Yelp Moved Its Cassandra Fleet Between Kubernetes Clusters](https://swe.quest/articles/zero-copy-migration-how-yelp-moved-its-cassandra-fleet-between-kubernetes-0d6b3f088cd34645.md): Yelp Engineering · 2026-11-09 · Medium · 12 min read · Kubernetes, Distributed databases, Storage systems, Cloud platforms, Refactoring & migrations
  Yelp moved roughly 1000 Cassandra pods and nearly a petabyte of data from self-managed Kubernetes clusters to Amazon EKS without streaming any data.

## 2026-11-05

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

## 2026-11-03

- [CockroachDB 26.4: One major upgrade a year with skip-level upgrades, run active-active across two data centers, and encrypt for the post-quantum era](https://swe.quest/articles/cockroachdb-26-4-one-major-upgrade-a-year-with-skip-level-upgrades-run-active-32aefe70e59e049a.md): Cockroach Labs · 2026-11-03 · Medium · 7 min read · Distributed databases, Databases, Identity & auth, Cryptography, Observability
  CockroachDB 26.4 introduces skip-level upgrades so operators can move from one annual .4 release to the next without stopping at intermediate releases, and adds active-active writes across two data centers via transactional logical data replication.

## 2026-10-29

- [Multigres private alpha: automatic failover for Supabase Postgres](https://swe.quest/articles/multigres-private-alpha-automatic-failover-for-supabase-postgres-4c0bac5bc4b5d068.md): Supabase · 2026-10-29 · Easy · 4 min read · PostgreSQL, Replication, Consensus, Distributed databases
  Multigres, an open source Postgres cluster manager from the Vitess team, is now in private alpha on Supabase, running Postgres on three nodes across availability zones with automatic failover and built-in connection pooling behind a single connection string.

## 2026-10-28

- [1M Durable Workflows per Second on Postgres](https://swe.quest/articles/1m-durable-workflows-per-second-on-postgres-8f041571c87c6775.md): DBOS · 2026-10-28 · Medium · 5 min read · PostgreSQL, Distributed databases, Scaling, Resilience, Queues & messaging
  Sharding Postgres with PgDog let DBOS durable workflow throughput scale linearly from 20K workflows/sec on one db.m7i.4xlarge RDS instance to 1M workflows/sec across 50 shards.

## 2026-10-23

- [Rapidly scaling online storage to serve over 1 billion ChatGPT users (Part II)](https://swe.quest/articles/rapidly-scaling-online-storage-to-serve-over-1-billion-chatgpt-users-part-ii-1fe17c5ac1f7349f.md): OpenAI · 2026-10-23 · Medium · 18 min read · Multi-tenancy, Distributed databases, Scaling, Capacity planning, Cloud platforms
  OpenAI's Habitat storage platform went from one shared Azure Cosmos DB container, to per-use-case dedicated containers, and back to a shared multi-tenant container.
- [Shard design doesn't start from your tables](https://swe.quest/articles/shard-design-doesn-t-start-from-your-tables-283c900085b220b2.md): PlanetScale · 2026-10-23 · Medium · 8 min read · Distributed databases, PostgreSQL, System design
  Neki's shard groups co-locate related Postgres tables by hashing a shared shard key (e.g. customer\_id via xxhash) into a 64-bit keyspace split across shards, so joins and transactions for one customer stay on a single shard with full Postgres semantics.

## 2026-10-14

- [Sequences and other volatiles in Neki](https://swe.quest/articles/sequences-and-other-volatiles-in-neki-867c9857ecacbacb.md): PlanetScale · 2026-10-14 · Hard · 14 min read · Query engines, PostgreSQL, Distributed databases, SQL
  Neki, PlanetScale's sharded Postgres, implements Postgres sequences by classifying sequence operations like nextval() as router-only, with an authoritative shard hosting all sequences so values are never duplicated across shards.

## 2026-10-01

- [Building a faster, lazier router for Postgres](https://swe.quest/articles/building-a-faster-lazier-router-for-postgres-bc9a70ce219128ed.md): PlanetScale · 2026-10-01 · Hard · 15 min read · PostgreSQL, Distributed databases, Performance engineering, Go, Query engines
  Neki, PlanetScale's Postgres sharding router, cuts per-query overhead by keeping PostgreSQL wire-protocol bytes intact and decoding only as much as each query requires.
- [How we extended Apache DataFusion to execute one query across many machines](https://swe.quest/articles/how-we-extended-apache-datafusion-to-execute-one-query-across-many-machines-6519f2d407c939dd.md): Datadog Engineering · 2026-10-01 · Hard · 12 min read · Query engines, Distributed databases, Rust, Analytics & OLAP, Open source
  Datadog built Distributed DataFusion, an open source Rust framework that extends Apache DataFusion's physical execution model so a single interactive query can run across many machines while keeping latency roughly flat as data grows.

## 2026-09-28

- [Handling hot shards](https://swe.quest/articles/handling-hot-shards-713450434ac73606.md): PlanetScale · 2026-09-28 · Medium · 7 min read · Distributed databases, PostgreSQL, Scaling, Multi-tenancy
  When a shard key like tenant\_id stops matching reality because a few whale tenants dominate load or cross-tenant queries appear, Neki (PlanetScale's sharded Postgres from the Vitess maintainers) offers three escalating fixes: vertically scale the hot shard with its own configuration profile, isolate the whale by narrowing hashed key ranges in the declarative data topology, or reshard specific tables by a better key.

[Next page](https://swe.quest/index.md?per=12&tag=distributed-databases&page=2)

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