Turso v0.8 group commit cuts tail latency 500x, overtakes SQLite under concurrent writes
glcst · x · 2026-09-30
Turso shipped v0.8, and the most impactful MVCC improvement was group commit, detailed in a deep dive by engineer Pere Diaz Bou.
- CTO Pekka Enberg handed him a barebones MVCC PR based on research behind Microsoft's Hekaton in-memory engine; the team and open source contributors built it out.
- v0.7's BEGIN CONCURRENT already moved past SQLite's single-writer limit, but concurrent writes didn't scale properly.
- Group commit batches fsyncs across transactions, achieving 500x lower tail latency; v0.8 now beats SQLite in both tail latency and throughput under concurrent writes.
- The post breaks down the commit path: transaction state machine, lock-free MVStore skip map of row versions, SQLite-format pages, and a logical log replayed on restart.
Related event: Turso 0.8.0 Cuts Tail Latency Up to 500x Versus SQLite(3 posts)→
More from coding & agent
- 48 projects added to AI Engineering from Scratch: build agents, gateways, tool-call firewalls in 196 graded stages — ghumare64 · 2026-09-30
- Mapping the matrix of wallet CLIs x agent harnesses, with a Patchbay MCP recipe — seanwbren · 2026-09-30
- Coinbase agent trading volume hits ATH as Grok dominates with 43.2% share — kleffew94 · 2026-09-30
- LangChain Guide: How Schneider, Vodafone and monday.com Scale AI Agents to Production — LangChain · 2026-09-30
- AI coding creates new bug classes — engineering best practices must adapt — dansitu · 2026-09-30
- No character drift in 1.8 years: per-turn retrieval over a sectioned soul script — OrionForgeEcosystem · 2026-09-30