tursodatabase/turso

Group commits

Open

#5,675 opened on Feb 28, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (1,001 forks)github user discovery
enhancementhelp wantedperformance

Repository metrics

Stars
 (19,103 stars)
PR merge metrics
 (PR metrics pending)

Description

Group commits are an optimization that trade off latency for higher throughput by deferring transaction acknowledgement and batching commit fsync() calls. For example, we can have a 5 ms fsync() period during which we let commits complete, but defer the fsync() and the acknowledgement until the end. This inflates commit latency, but allows more concurrency, increasing throughput.

Contributor guide