---
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&source=planetscale"
---

# Posts

Filtered by source: PlanetScale.

Posts 1–12 of 21, page 1 of 2, 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-19

- [Building PlanetScale with Insights Agent](https://swe.quest/articles/building-planetscale-with-insights-agent-b70b35e12242702e.md): PlanetScale · 2026-11-19 · Medium · 5 min read · MySQL, Performance engineering, AI agents, Ruby, Databases
  PlanetScale ran its Insights Agent, which finds costly queries via Query Insights and opens fix PRs, against its own Rails API on MySQL.

## 2026-11-11

- [How we migrate TBs from Heroku without logical replication](https://swe.quest/articles/how-we-migrate-tbs-from-heroku-without-logical-replication-e0568c616a878849.md): PlanetScale · 2026-11-11 · Medium · 12 min read · PostgreSQL, Schema migrations, Replication, Networking
  PlanetScale's open-source Heroku Migrator moves multi-terabyte Postgres databases off Heroku standard plans, which lack WAL access and logical replication, by using Bucardo trigger-based replication: triggers record changes in delta tables, a one-time COPY loads existing data, and a worker replays the backlog before a controlled switchover with verification.

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

- [The hidden latency inside your database](https://swe.quest/articles/the-hidden-latency-inside-your-database-263d79fde3372538.md): PlanetScale · 2026-11-03 · Easy · 8 min read · Storage systems, Databases, Performance engineering, Cloud platforms, Replication
  Cloud databases on network-attached storage like EBS pay a network round trip on every disk operation, a cost that became the dominant bottleneck once SSDs made disks ~100x faster than spinning drives.

## 2026-10-29

- [Designing a planned switchover for minimum disruption](https://swe.quest/articles/designing-a-planned-switchover-for-minimum-disruption-c09f9387b5a40465.md): PlanetScale · 2026-10-29 · Hard · 8 min read · PostgreSQL, Replication, Resilience, Deployment
  Neki performs planned Postgres primary switchovers without stopping the old primary.

## 2026-10-23

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

- [I don't trust ON DELETE CASCADE](https://swe.quest/articles/i-don-t-trust-on-delete-cascade-44280f7ae72c78f6.md): PlanetScale · 2026-10-21 · Medium · 5 min read · PostgreSQL, Schema migrations, Replication, Databases
  Postgres ON DELETE CASCADE turns a single-row delete into an unbounded transaction that can cause outages at scale.

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

- [PlanetScale is now available on Azure](https://swe.quest/articles/planetscale-is-now-available-on-azure-bb9363c9d079640b.md): PlanetScale · 2026-10-13 · Medium · 3 min read · Cloud platforms, Kubernetes, Networking, PostgreSQL
  PlanetScale Postgres and Neki databases can now run in three Azure regions (centralus, eastus2, westeurope), with the same HA across three availability zones, Query Insights, backups and NVMe-backed Metal clusters as on AWS and GCP.

## 2026-10-12

- [What gets TOASTed in Postgres](https://swe.quest/articles/what-gets-toasted-in-postgres-267438c13f618a84.md): PlanetScale · 2026-10-12 · Medium · 13 min read · PostgreSQL, Storage engines, Performance engineering
  Postgres TOAST kicks in once a row exceeds 2,032 bytes, compressing variable-length values largest-first and moving them into chunked pg\_toast tables (1,996-byte chunks, 18-byte in-row pointers) when compression isn't enough.

## 2026-10-08

- [TIN v1.0.6: 2-3x faster, with support for stemming](https://swe.quest/articles/tin-v1-0-6-2-3x-faster-with-support-for-stemming-ea2ddc443b54feaf.md): PlanetScale · 2026-10-08 · Medium · 8 min read · Search, PostgreSQL, Performance engineering
  TIN v1.0.6, PlanetScale's Postgres full-text search index, adds Snowball-based stemming for 18 languages via the rust\_stemmers crate and extends its block-max top-k plan to queries with heap-attribute tiebreakers in ORDER BY.

[Next page](https://swe.quest/index.md?per=12&source=planetscale&page=2)

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