← Modèles · Bases de données
EL

Electric

Communauté

2 services

Postgres sync engine — real-time partial replication of your data into client apps and local-first software.

Déployer Electric

S'exécute2 services
Pile technique electric-dbelectric
Provisionné pour l'applicationRien, l'application est autonome
VérifiéPas encore

Pourquoi déployer sur Railyard

Railyard provisionne les 2 services de cette pile ensemble — electric-db, electric — câblés pour se joindre sur le réseau privé, sur un serveur que vous payez déjà.

Déployer Electric n'est qu'un élément d'une pile applicative que vous pouvez continuer à faire grandir — ajoutez une base de données, un worker, un cache ou une autre application, toujours sur les mêmes serveurs que vous payez déjà.

Idéal pour

  • Real-time sync of Postgres data into web and mobile apps (local-first software)
  • Partial, filtered replication of a subset of your data to the client, instead of polling an API
  • Building collaborative or offline-capable apps on top of an existing Postgres database

Bon à savoir

  • Electric needs Postgres logical replication (wal_level=logical) — this stack runs its own dedicated Postgres with that set at startup, since Railyard's shared Postgres addon can't have its server-level WAL settings changed per app
  • Runs with ELECTRIC_INSECURE=true (no auth) — switch to ELECTRIC_SECRET-based auth before exposing this beyond your own team
  • This Postgres is dedicated to Electric's sync state; point your own app's writes at a separate database and have Electric read from it via a foreign/shared connection, or migrate your app's data into this one

Documentation du projet ↗