Turbolite: SQLite VFS in Rust Serves Cold Queries from S3 in Under a Second

Available in: 中文
2026-03-26T20:15:49.649Z·2 min read
A developer has built Turbolite, an experimental SQLite Virtual File System (VFS) written in Rust that can serve cold queries directly from Amazon S3 with sub-second latency, often much faster — wi...

Turbolite Brings SQLite to S3 with Sub-Second Cold Query Performance

A developer has built Turbolite, an experimental SQLite Virtual File System (VFS) written in Rust that can serve cold queries directly from Amazon S3 with sub-second latency, often much faster — without needing a local database copy.

How It Works

Instead of naive page-at-a-time reads from a raw SQLite file, Turbolite:

  1. Introspects SQLite B-trees to understand data structure
  2. Stores related pages together in compressed page groups on S3
  3. Maintains a manifest as the source of truth for page locations
  4. Uses seekable zstd frames and S3 range GETs for cache misses
  5. Prefetches strategically based on query plans

The Design Philosophy

Turbolite is inspired by Turbopuffer's S3-native approach. The key insight: S3 rewards fewer requests, bigger transfers, and immutable objects — the opposite of traditional filesystem assumptions. Rather than fighting S3's characteristics, Turbolite designs around them.

Target Use Case

The project is aimed at architectures with many mostly-cold SQLite databases:

In these scenarios, keeping a separate attached volume for each inactive database feels wasteful. Turbolite assumes a single write source and targets 'many databases with bursty cold reads' rather than 'one hot database.'

Performance Optimizations

Status

The project is explicitly experimental — the author warns it 'may corrupt data' and should not be trusted with anything important yet. It's a fascinating exploration of whether object storage has gotten fast enough to support embedded databases over cloud storage.

Why It Matters

If reliable, this approach could fundamentally change how developers think about database architecture in serverless and edge computing environments, eliminating the need for persistent volumes in many scenarios.

↗ Original source · 2026-03-26T00:00:00.000Z
← Previous: Prediction Markets and Gambling Are Undermining American Institutions — And It's Getting WorseNext: China's 2026 Internet Media Forum Highlights AI Integration and Content Governance →
Comments0