---
title: "Concurrent Writes in Practice: Building High-Throughput Apps with Turso's MVCC"
description: "Turso's BEGIN CONCURRENT replaces SQLite's single-writer lock with Hekaton-inspired optimistic MVCC that detects conflicts at commit time and at row granularity, rather than the page-level detection in SQLite's unmerged experimental branch."
url: "https://swe.quest/articles/concurrent-writes-in-practice-building-high-throughput-apps-with-turso-s-mvcc-ce150ea2df977c45"
canonical: "https://turso.tech/blog/concurrent-writes-in-practice"
source: "Turso"
published: "2026-08-27"
difficulty: "medium"
kind: "How-to"
reading_minutes: 12
tags: ["sqlite","concurrency","consistency","databases"]
---

# Concurrent Writes in Practice: Building High-Throughput Apps with Turso's MVCC

A post on [Turso](https://swe.quest/sources/turso.md), published 2026-08-27, 12 min read, How-to. Original: [https://turso.tech/blog/concurrent-writes-in-practice](https://turso.tech/blog/concurrent-writes-in-practice)

## Summary

Turso's BEGIN CONCURRENT replaces SQLite's single-writer lock with Hekaton-inspired optimistic MVCC that detects conflicts at commit time and at row granularity, rather than the page-level detection in SQLite's unmerged experimental branch. Turso's benchmarks show write transactions running 4x faster than SQLite at 8 threads with 1ms of compute per transaction, and 16% faster with no compute. The biggest gains come from transactions that read, compute, then write, from ingestion across distinct rows, and from long-running augmentation jobs. Practical use on Turso Cloud requires opting in and creating a tursodb database, with working TypeScript, Python and Rust code for concurrent transactions and bounded exponential-backoff retry wrappers for write-write conflicts.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [SQLite](https://swe.quest/tags/sqlite.md) (Data & databases)
- [Concurrency](https://swe.quest/tags/concurrency.md) (Compilers & runtimes)
- [Consistency models](https://swe.quest/tags/consistency.md) (Distributed systems)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- SQLite transactions and WAL mode ([easy posts on SQLite](https://swe.quest/tags/sqlite.md?difficulty=easy))
- MVCC basics
- async programming ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))

## Keywords

Turso, BEGIN CONCURRENT, MVCC, SQLite, Hekaton, Turso Cloud, libSQL

## Related posts

- [SQLite Concurrent Writes Are Here: Early Preview on Turso Cloud](https://swe.quest/articles/sqlite-concurrent-writes-are-here-early-preview-on-turso-cloud-0a785739ef6a43fe.md): Turso · 2026-08-03 · Medium · 5 min read · SQLite, Concurrency, Consistency models, Storage engines
  Turso Cloud now offers concurrent writes in early preview: transactions opened with BEGIN CONCURRENT run optimistically in parallel on an MVCC engine modeled on Microsoft's Hekaton, with conflicts detected at commit time at row granularity.
- [Beyond the Single-Writer Limitation with Turso's Concurrent Writes](https://swe.quest/articles/beyond-the-single-writer-limitation-with-turso-s-concurrent-writes-cb123f350ef5318c.md): Turso · 2025-10-06 · Hard · 12 min read · SQLite, Consistency models, Storage engines, Concurrency, Performance engineering
  Turso implements SQLite-compatible BEGIN CONCURRENT using Hekaton-style MVCC, which removes SQLite's single-writer bottleneck and the SQLITE\_BUSY errors that come with it.
- [Turso 0.8: Concurrent writes without SQLite's single-writer bottleneck](https://swe.quest/articles/turso-0-8-concurrent-writes-without-sqlite-s-single-writer-bottleneck-12eb79dda642476c.md): Turso · 2026-09-29 · Medium · 6 min read · SQLite, Concurrency, Performance engineering, Storage engines, Query engines
  Turso 0.8 targets SQLite's single-writer bottleneck with BEGIN CONCURRENT, an MVCC mode where transactions start independently and commit in groups.
- [Turso v0.5.0](https://swe.quest/articles/turso-v0-5-0-1bc59038f4941e8d.md): Turso · 2026-03-04 · Hard · 6 min read · SQLite, Storage engines, Query engines, Consistency models, Search
  Turso v0.5.0 promotes MVCC-based concurrent writes (BEGIN CONCURRENT, adapted from Hekaton) to beta.
- [Turso v0.7.0](https://swe.quest/articles/turso-v0-7-0-8d3ff93b34352c14.md): Turso · 2026-07-13 · Hard · 10 min read · SQLite, Storage engines, Consistency models, Memory management, Rust
  Turso 0.7 drops the beta label and focuses on performance and robustness for embedded, multi-tenant use: the core no longer blocks on I/O, yields CPU via a new StepResult::Yield, moves to fallible allocation so OOM surfaces as an error, and treats the page cache as a soft limit like SQLite.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
