<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t" -->

---
title: libSQL and Turso: SQLite for production | daily.dev
description: libSQL is Turso&#x27;s open fork of SQLite that adds remote access, embedded replicas, and native vector search for production use. Turso Cloud provides hosted...
canonical: https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: libSQL and Turso: SQLite for production | daily.dev
og:description: libSQL is Turso&#x27;s open fork of SQLite that adds remote access, embedded replicas, and native vector search for production use. Turso Cloud provides hosted...
og:url: https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t
og:image: https://api.daily.dev/og/posts/EYUYdlL8T.png
og:image:alt: libSQL and Turso: SQLite for production
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# libSQL and Turso: SQLite for production

**[Flavio Copes](https://daily.dev/sources/flaviocopes)** · 4 min read · 0 upvotes · 0 comments

## Summary

libSQL is Turso's open fork of SQLite that adds remote access, embedded replicas, and native vector search for production use. Turso Cloud provides hosted SQLite-compatible databases at the edge. Embedded replicas let apps read from a local SQLite file synced with a remote primary, giving disk-speed reads without running at the edge. A second project, Turso Database (formerly Limbo), is a ground-up Rust rewrite of SQLite targeting async I/O and concurrent writes, but it's still in beta. For choosing between Turso and Cloudflare D1: use D1 if already on Cloudflare Workers/Pages, use Turso if you need embedded replicas or deploy outside Cloudflare.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://flaviocopes.com/libsql-turso>

## Questions this post answers

### What is the difference between libSQL and Turso Database?

libSQL is Turso's open, production-ready fork of SQLite that keeps the same file format, SQL dialect, and APIs while adding remote HTTP access, embedded replicas, and native vector search. Turso Database, formerly codenamed Limbo, is a separate ground-up rewrite of SQLite in Rust targeting async I/O with io_uring and MVCC concurrent writes via BEGIN CONCURRENT, and it is still in beta, not recommended for production.

_Comparing SQLite-based database options for a new project? daily.dev surfaces the latest on libSQL and Turso._

### Should I use Turso with libSQL or Cloudflare D1 for my app?

Choose Cloudflare D1 if the app already runs on Cloudflare Workers or Pages, since D1 is native to that stack with bindings and local dev via Wrangler and no extra vendor. Choose Turso with libSQL if embedded replicas are needed for local-speed reads with cloud sync, or if the app deploys outside Cloudflare on platforms like Railway, Fly, or a VPS.

_Weighing SQLite hosting options like D1 versus Turso? daily.dev keeps the comparison details close at hand._

### How do embedded replicas work in libSQL and Turso?

An embedded replica is a local SQLite file on the app server that syncs with a remote libSQL primary hosted on Turso Cloud. Reads hit the local file at disk speed while writes go to the cloud and sync back down, giving edge-like read latency without deploying at the edge; syncing is triggered by calling client.sync() using the @libsql/client library.

_Building low-latency reads with local SQLite replicas? daily.dev tracks these database patterns for developers._

## Similar posts on daily.dev

- [Deep dive into Turso, the "SQLite rewrite in Rust"](https://daily.dev/posts/deep-dive-into-turso-the-sqlite-rewrite-in-rust--kn9wn7dsd) · Hacker News · 58 upvotes · 6 comments
- [Why We Created Turso, a Rust-Based Rewrite of SQLite](https://daily.dev/posts/why-we-created-turso-a-rust-based-rewrite-of-sqlite-weanb5tiz) · The New Stack · 106 upvotes · 4 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#sqlite](https://daily.dev/tags/sqlite)

[View this post on daily.dev](https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"libSQL and Turso: SQLite for production","url":"https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t"},"datePublished":"2026-08-03T07:56:38.510Z","dateModified":"2026-09-14T06:16:46.501Z","description":"libSQL is Turso's open fork of SQLite that adds remote access, embedded replicas, and native vector search for production use. Turso Cloud provides hosted...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7219243bb6b6113ecc90bd933965a4ef?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7219243bb6b6113ecc90bd933965a4ef?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Flavio Copes","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Flavio Copes","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/1f2dbd275797411bbd37bfdaaf0951a9","url":"https://daily.dev/sources/flaviocopes"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"backend,sqlite","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Flavio Copes","item":"https://daily.dev/sources/flaviocopes"},{"@type":"ListItem","position":3,"name":"libSQL and Turso: SQLite for production"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/libsql-and-turso-sqlite-for-production-eyuydll8t#faq","mainEntity":[{"@type":"Question","name":"What is the difference between libSQL and Turso Database?","acceptedAnswer":{"@type":"Answer","text":"libSQL is Turso's open, production-ready fork of SQLite that keeps the same file format, SQL dialect, and APIs while adding remote HTTP access, embedded replicas, and native vector search. Turso Database, formerly codenamed Limbo, is a separate ground-up rewrite of SQLite in Rust targeting async I/O with io_uring and MVCC concurrent writes via BEGIN CONCURRENT, and it is still in beta, not recommended for production. Comparing SQLite-based database options for a new project? daily.dev surfaces the latest on libSQL and Turso."}},{"@type":"Question","name":"Should I use Turso with libSQL or Cloudflare D1 for my app?","acceptedAnswer":{"@type":"Answer","text":"Choose Cloudflare D1 if the app already runs on Cloudflare Workers or Pages, since D1 is native to that stack with bindings and local dev via Wrangler and no extra vendor. Choose Turso with libSQL if embedded replicas are needed for local-speed reads with cloud sync, or if the app deploys outside Cloudflare on platforms like Railway, Fly, or a VPS. Weighing SQLite hosting options like D1 versus Turso? daily.dev keeps the comparison details close at hand."}},{"@type":"Question","name":"How do embedded replicas work in libSQL and Turso?","acceptedAnswer":{"@type":"Answer","text":"An embedded replica is a local SQLite file on the app server that syncs with a remote libSQL primary hosted on Turso Cloud. Reads hit the local file at disk speed while writes go to the cloud and sync back down, giving edge-like read latency without deploying at the edge; syncing is triggered by calling client.sync() using the @libsql/client library. Building low-latency reads with local SQLite replicas? daily.dev tracks these database patterns for developers."}}]}
```

