Fetching from the wire…
Public story · 2026-07-27 · high
Samokhvalov built it as a hand-drawn model, not a real Postgres emulator, and it hit 888 points on Hacker News.
Why now: PGSimCity had reached 888 points on Hacker News as of July 27.
Nikolay Samokhvalov built PGSimCity, a walkable 3D model of Postgres internals, and it hit 888 points on Hacker News. It's aimed at engineers who run Postgres without ever operating a database. They're the ones who get paged when a checkpoint spikes latency, with no idea why.
The city's central plaza is shared_buffers: 1,024 individual page frames laid out as plots. Each plot's height tracks its clock-sweep usage count, its color shows the buffer's true state. Walk east and you hit an amber district, the WAL.
Below the plaza sits a pit, the data directory, where heap files visibly grow as you bloat them. A standby server sits south of the city, replaying whatever the primary sends. Always a step behind.
None of it runs real Postgres code, and Samokhvalov says so directly. It's a hand-written model, not an emulator. That's a real limit: nothing here proves the numbers match what happens under production load.
I like that he's upfront about it. My take: this will teach checkpoint latency and buffer eviction faster than the official docs ever have. It shows a heap file actually swell instead of describing a page write. If it ends up bookmarked in onboarding docs at a company running Postgres at scale, that bet pays off.
Each link below shares sources, entities, or timing with this story.
Ardent, a two-person YC Spring 2026 company, delivers 1:1 production Postgres clones isolated at compute and storage, zero storage cost for unchanged data, compute scaling to zero when idle. Founder Vikram Chennai pivoted here after his prior AI Data Engineer agent reached $20...
Block launched Buzz on July 21. Free desktop app for macOS, Windows, Linux. Built on the Nostr protocol with cryptographic identities. Dorsey described it as "model-agnostic, decentralised, self-sovereign and open source," created explicitly "to reduce our dependency on slack...
SaaStr's July 21 post argues against the "give agents a Postgres database and let them rip" position with four failure modes: 20+ agents each reinvent business rules without shared logic, downstream billing/BI/marketing need a canonical record, humans still need pipelines and...
DeepSeek-Reasonix is a single static CGO-free Go binary built entirely around prefix caching, and its central design choice is worth stealing: never inject planning turns into the executor's conversation, because a mid-conversation planning turn breaks the exact-token prefix m...
Tailscale traced last year's outages, corruption, transaction logs that wouldn't apply cleanly, inconsistent checkpoint stats, to a WAL-Reset bug present since SQLite 3.7.0 in July 2010. It fires only in WAL mode with multiple connections on the same file when reading and writ...
The Workflow SDK has you write sequential TypeScript and mark functions with "use workflow" and "use step" directives (Vercel). Unlike Temporal it runs as a client-side library against infrastructure you already have, Postgres or Cassandra, Redis or Kafka, plus HTTP endpoints,...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.