Turbolite
a SQLite VFS serving sub-250ms cold JOIN queries from S3
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I built a SQLite VFS in Rust that serves cold queries directly from S3 with sub-second performance, and often much faster.It’s called turbolite. It is experimental, buggy, and may corrupt data. I would not trust it with anything important yet.I wanted to explore whether object storage has gotten fast enough to support embedded databases over cloud storage. Filesystems reward tiny random reads and in-place mutation. S3 rewards fewer requests, bigger transfers, immutable objects, and aggressively parallel operations where bandwidth is often the real constraint. This was explicitly inspired by turbopuffer’s ground-up S3-native design. https://turbopuffer.com/blog/turbopufferThe use case I had in mind is lots of mostly-cold SQLite databases (database-per-tenant, database-per-session, or database-per-user architectures) where keeping a separate attached volume for inactive database feels wasteful. turbolite assumes a single write source and is aimed much more at “many databases with bursty cold reads” than “one hot database.”Instead of doing naive page-at-a-time reads from a raw SQLite file, turbolite introspects SQLite B-trees, stores related pages together in compressed page groups, and keeps a manifest that is the source of truth for where every page lives. Cache misses use seekable zstd frames and S3 range GETs for search queries, so fetching one needed page does not require downloading an entire object.At query time, turbolite can also pass storage operations from the query plan down to the VFS to frontrun downloads for indexes and large scans in the order they will be accessed.You can tune how aggressively turbolite prefetches. For point queries and small joins, it can stay conservative and avoid prefetching whole tables. For scans, it can get much more aggressive.It also groups pages by page type in S3. Interior B-tree pages are bundled separately and loaded eagerly. Index pages prefetch aggressively. Data pages are stored by table. The goal is to make cold point queries and joins decent, while making scans less awful than naive remote paging would.On a 1M-row / 1.5GB benchmark on EC2 + S3 Express, I’m seeing results like sub-100ms cold point lookups, sub-200ms cold 5-join profile queries, and sub-600ms scans from an empty cache with a 1.5GB database. It’s somewhat slower on normal S3/Tigris.Current limitations are pretty straightforward: it’s single-writer only, and it is still very much a systems experiment rather than production infrastructure.I’d love feedback from people who’ve worked on SQLite-over-network, storage engines, VFSes, or object-storage-backed databases. I’m especially interested in whether the B-tree-aware grouping / manifest / seekable-range-GET direction feels like the right one to keep pushing.
HN · launched Mar 26, 2026 · 185 upvotes (top 4%) · 0 views
Niche: database management systems and engines · 162 launches, 5 in the last 7 days ▼ -17% · Explore this niche →
Category and tags
- Horizontal
- Data infrastructure
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 162 launches in database management systems and engines →
Could you build this?
No Writing a custom SQLite Virtual File System (VFS) in Rust to execute sub-250ms cold join queries against S3 requires deep knowledge of SQLite's C internals, paging, and speculative range-request networking. Getting POSIX-like page caching and concurrency correct over high-latency object storage is a specialized systems engineering challenge.
What it would actually take: The system needs a custom Rust SQLite VFS implementing `sqlite3_vfs` and `sqlite3_io_methods`, translating SQLite B-Tree 4KB page reads into predictive multi-range HTTP GET requests to S3. The hardest engineering problems are minimizing round-trip times during sequential B-Tree traversals, speculative read-ahead of root/interior index pages, and handling local page caching with lock semantics. This demands a systems engineer with deep expertise in SQLite internal page structures and distributed storage I/O.
Discussion
20 comments analyzed.
Competitors mentioned: Neon, Fly Machine with SQLite, Litestream, LTX/Litestream (temporal locality approach), sqlite-prefetch
Concerns raised: 250ms startup is slow for DB queries, Write amplification from re-uploading entire page groups on single page dirtying, Not optimized for write-heavy or mixed-read/write workloads, Credentials handling unclear for frontend usage, WAL mode consistency management complexity
Feature requests: Browser/WASM support with OPFS and fetch instead of S3, B-tree introspection at page-child level for prefetching, Embedded WAL shipping for durability with grouped pages, Query-level manual eviction policies, Storage API abstraction for different backends
Competitors
Other products that read as similar to this one : 330 launches clear the similarity bar, closest 8 shown.
Attention rank: #13 of 331 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 148 days after the earliest competitor.
- SNKV · hn · 2026-02-24 · 36 upvotes · similarity 0.53
- Polars 2.0 · ph · 2026-10-07 · 3 upvotes · similarity 0.53
- Inillucent · hn · 2026-10-22 · 6 upvotes · similarity 0.49
- UseSQLite · ph · 2026-09-16 · 2 upvotes · similarity 0.47
- LaminarDB · hn · 2026-02-18 · 6 upvotes · similarity 0.46
- Dbxlite · hn · 2025-12-12 · 5 upvotes · similarity 0.46
- Hurry · hn · 2025-12-22 · 11 upvotes · similarity 0.45
- VelocityDB · ph · 2026-11-11 · 1 upvotes · similarity 0.45
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.