Recommendation

Choose the local data and write model before the sync product.

Offline-capable SQLite sync, Postgres read-path Shapes, an existing Replicache migration, and Zero's query-driven model have materially different write and lifecycle boundaries.12

For: Web and mobile teams that need local availability, reactive data, intermittent-connectivity behavior, or an installed Replicache migration path

Main trade-off

Local availability and responsiveness improve by moving data and logic toward clients, while authorization, writes, conflicts, convergence, schema evolution, recovery, and sync operations become core product concerns.125

Four sync routes

Local-first is an application architecture: client storage, authorization, writes, conflicts, schema evolution, and recovery cannot be delegated as a single feature.

  1. Offline contract

    Define what can be read and written offline, how long disconnection can last, and what the user sees before convergence.15

  2. Writes and conflicts

    Choose mutation ownership, optimistic behavior, ordering, retries, idempotency, conflict rules, rejection, and rollback.12

  3. Authorization and tenancy

    Specify which data may sync to a client, where policy is evaluated, revocation behavior, leakage boundaries, and audit needs.15

  4. Backend and operations

    Verify source databases, logical replication, client schema, migrations, server components, hosting, regions, recovery, observability, and cost.12

Synchronization routes

Route by offline-write and backend architecture; do not treat every reactive client-data layer as bidirectional local-first sync.

Offline-capable local SQLite is required

Evaluate PowerSync.

Client-local databases and explicit synchronization can support responsive reads and writes through intermittent connectivity.

Verify: Sync rules or streams, write APIs, conflicts, authentication, schema changes, service operation, supported sources, and billing become core architecture.12

A reactive Postgres read path is enough

Evaluate Electric.

Shapes over HTTP can deliver application-specific Postgres subsets while the application retains its own write API.

Verify: This is not the legacy bidirectional product; writes, authorization, logical replication, schema operations, deployment, and economics remain explicit.123

You already operate Replicache

Maintain while planning migration.

Existing installations still require support and a deliberate migration path.

Verify: Do not recommend Replicache for new projects: its official site states maintenance mode and directs new investment toward Zero.124

Zero's current query-driven model fits

Evaluate Zero as a prospective route.

Reactive local reads and query-driven synchronization can suit Postgres web applications with compatible authorization and deployment needs.

Verify: Validate current offline-write behavior, self-hosted server components, Postgres replication, schema constraints, maturity, and recovery before commitment.1256

Boundary: This Task does not cover ETL, reverse ETL, general iPaaS, or arbitrary database replication. Database remains the authoritative backend decision unless a route explicitly defines otherwise.

The write path is the architecture

Reactive reads alone do not establish local-first behavior; write ownership and convergence determine the product contract.

Offline writes
Products differ on whether writes can originate offline, queue locally, or must use an online application API.12
Data selection
Sync rules, Shapes, subscriptions, and queries express authorization and client data scope differently.12
Conflict model
Ordering, merge policy, rejection, server authority, and user-visible reconciliation must match domain semantics.1
Backend coupling
Source database, logical replication, write API, client SQLite, server components, and hosting create distinct operating boundaries.15
Lifecycle
Schema changes, resync, revocation, deletion, recovery, observability, and product maturity are production obligations.12

Official resources

Use the primary documentation to validate product boundaries, operating behavior, limits, and current commercial terms.

Sources

Official documentation supporting the decision routes and their boundaries.

  1. 1
    PowerSync sync overview

    PowerSync · Accessed Official

  2. 2
    Electric Sync documentation

    ElectricSQL · Accessed Official

  3. 3
    Electric writes guide

    ElectricSQL · Accessed Official

  4. 4
    Replicache maintenance notice

    Rocicorp · Accessed Official

  5. 5
    Zero introduction

    Rocicorp · Accessed Official

  6. 6
    Zero connection and offline behavior

    Rocicorp · Accessed Official