Ben
banner
benjdd.com
Ben
@benjdd.com
databases @planetscale.com
Not all CPUs are created equal.

This latency graph shows a r6id → i7i upgrade. Same vCPU count. Same amount of RAM. Both using local SSDs.

Upgrading to a newer instance makes a big difference.
November 10, 2025 at 12:25 PM
PlanetScale now supports PgBouncers (connection poolers) for your replicas.

Connection pooling is broadly important for databases, but especially for Postgres because of its process-per-connection architecture.

Don't know what that means? I have the perfect article!
November 6, 2025 at 6:59 PM
Want to understand B-trees better?

Try btree.app and bplustree.app.

These are standalone sandboxes of the visuals I built for my "B-trees and database indexes" article. Helpful for learning B-tree insertion, search, and node splits.
November 5, 2025 at 3:53 PM
Comparing latencies for Claude, GPT-5, Grok, and Gemini.

My personal biggest takeaway? Gemini is fast! I mostly stick with Claude but maybe I should give it a go.
October 26, 2025 at 2:45 PM
My half-finished "Transactions" article has been sitting dormant for awhile.

Time to bring it back?

Started this long before PlanetScale Postgres. Would be a fun opportunity to compare the MVCC models of Postgres and MySQL.
October 17, 2025 at 2:54 PM
I benchmarked 96 combinations of Postgres 17 and 18.

There's a few surprising results, but overall Postgres 18 has some nice improvements.

Read all about it at the link below.
October 14, 2025 at 3:47 PM
I implemented a CPU and RAM.

In Javascript.

For a blog.
September 24, 2025 at 4:11 PM