Skip to content
Discussion options

You must be logged in to vote

Your model is directionally right, but partial sync is not just a freshness tracker.

The sync-wasm package is the local database path: it brings pages into browser storage and syncs with Turso Cloud. The current partial-sync option is experimental and is configured around bootstrap strategies such as "load the first N bytes" or "load pages touched by this SQL query", plus segment/prefetch options. That reduces how much of the database is materialized locally, but it still has the WASM/local-storage cost and page-level sync behavior.

So I would choose this way:

  • @tursodatabase/serverless for normal web apps where first load size and simple remote reads matter most
  • @tursodatabase/sync-wasm

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mcmah309
Comment options

@OrthelT
Comment options

Answer selected by mcmah309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants