a year ago
- Turso Offline Sync is now in public beta, allowing applications to function seamlessly offline.
- Local database operations continue normally and sync automatically when connectivity is restored.
- Turso uses Embedded Replicas to keep local databases in sync with Turso Cloud.
- Previously, sync was unidirectional; now, local databases can accept writes and sync later.
- Offline Sync enables local-first applications, making them fast and resilient to network failures.
- Turso's architecture simplifies local-first apps by syncing the full database.
- Use cases include on-device apps, field data collection, and more.
- Public beta features include TypeScript and Rust support, with more languages planned.
- Setup involves creating a new database in AWS and enabling offline mode in the client.
- Expo integration is available for building offline-first mobile apps.
- Future features include bidirectional sync, conflict resolution, and more.
- Turso Offline Sync is not yet recommended for production use during the beta.