MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript Part of the Nothing is magic series, where we build database internals from scratch until they stop being magic. Open two psql sessions. Session A: BEGIN; DELETE FROM users; -- deletes all 1 million41AAug 24 · 18 min readblog.jatin510.dev
Write-Ahead Log Explained: Build Crash-Safe Durability in 30 LinesLast time we built a connection pool from scratch. This time: how does a database not lose your data when the power dies? You write a row. The database says OK. A millisecond later, someone trips ove63JSAJul 26 · 17 min readblog.jatin510.dev
Connection Pooling Explained: Build One From Scratch in 30 LinesNothing is magic — part of a series on building infrastructure primitives from scratch. I used to think request queuing and connection pooling were deep infrastructure magic — something libraries did 7Jul 5 · 9 min readblog.jatin510.dev
Building PostgreSQL Extensions with Rust: A Complete Guide Using pgrxBuilding PostgreSQL Extensions with Rust: A Complete Guide Using pgrx PostgreSQL is one of the most extensible databases ever built. Its extension system lets you add custom data types, functions, operators, and even entirely new storage engines. Tra...Jan 14 · 10 min readblog.jatin510.dev
I Tried Corrode’s “Prototyping in Rust” — And It Changed How I Build ThingsWhen I came across Corrode’s article on Prototyping in Rust, it immediately clicked with something I’d been struggling with for a while. As someone who builds Rust-based systems every day — from high-throughput analytics pipelines to Web Crawler — I ...Oct 26, 2025 · 4 min readblog.jatin510.dev