02 Dec 2025


SQLite doesn’t have MVCC! It only has a single writer! SQLite is for phones and mobile apps (and the occasional airliner)! For web servers use a proper database like Postgres! In this article I’ll go over why being embedded and a single writer are not deficiencies but actually allow SQLite can scale so unreasonably well.

Prelude

For the code examples I will be using Clojure. But, what they cover should be applicable to most programming language.

The machine these benchmarks run on has the following specs:

  • MacBook Pro (2021)
  • Chip: Apple M1 Pro
  • Memory: 16 GB

These benchmarks are not meant to be perfect or even optimal. They are merely to illustrate that it’s relatively easy to achieve decent write throughput with SQLite. Usual benchmark disclaimer…

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