Electric Sync
Sync little subsets of your Postgres data into local apps, services and environments.
Use cases
The Electric Sync engine syncs little subsets of data out of Postgres into local apps, services and environments — wherever you need the data.
You can sync data into:
- web and mobile apps, replacing data fetching with data sync
- development environments, for example syncing data into an embedded PGlite
- edge workers and services, for example maintaining a low-latency edge data cache
- local AI systems running RAG, for example using pgvector
- databases like PGlite
How does it work?
The Electric sync engine is an Elixir application, developed at electric-sql/electric/tree/main/packages/sync-service.
It connects to your Postgres using a DATABASE_URL
, consumes the logical replication stream and provides an HTTP API for replicating Shapes.
How do I use it?
See the Quickstart, Installation guide and Examples.