More databases should be single-threaded
blog.konsti.xyz·6d·
Discuss: Hacker News
💧Litestream
Preview
Report Post

Last night, I caused something on X by saying that (most) transactional databases should be single-threaded and aggressively sharded:

hot take: databases should be single-threaded

someone a long time ago decided that database shards should be multi-threaded. ever since then, we’ve had to worry about transactions, serializability, race conditions, and locking.

instead, we should have single-threaded shards,…

— Konsti Wohlwend (@konstiwohlwend) December 18, 2025

I have a lot more to say than would fit in a tweet, and the tweet also got more attention than I thought, so here’s a lengthy blog post.

(There’s no solution that solves every problem. But I hope I ca…

Similar Posts

Loading similar posts...