More databases should be single-threaded
blog.konsti.xyz·4w·
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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help