Turso Offline Sync Public Beta: Always-On Apps, Even Offline

2025-03-31
Turso Offline Sync Public Beta: Always-On Apps, Even Offline

Turso is thrilled to announce the public beta of Turso Offline Sync! Your applications can now function seamlessly, even without internet connectivity. Local database operations continue normally, automatically syncing upon reconnection. Leveraging embedded replicas, your local database (on-device or server) stays in sync with your Turso Cloud database, with changes propagated to all replicas. This beta addresses previous limitations of unidirectional sync, enabling fast local writes, offline capabilities, and later syncing to the Turso Cloud. This simplifies development for local-first apps, mobile apps, POS systems, field data collection, and IoT applications. The beta currently supports TypeScript and Rust, and includes features like bi-directional sync, remote write support, WAL sync checkpointing, and conflict detection (resolution coming soon).

Read more
Development offline sync

Building a High-Performance SQLite Edge Replica with Turso and Fly.io

2025-02-13
Building a High-Performance SQLite Edge Replica with Turso and Fly.io

This tutorial demonstrates how to build custom SQLite edge replicas for Turso using Node.js and Fly.io to boost database performance. By deploying proxy servers across multiple global regions and leveraging Fly.io's Anycast network, low-latency data access is achieved. The solution caches data locally in a SQLite file, periodically syncing with the primary database, reducing network latency and data replication costs for a superior user experience. The tutorial covers Dockerfile configuration, Fly.io deployment, proxy server implementation details, and includes a security authentication mechanism.

Read more
Development edge computing