powersync.com

PowerSync dinosaur mascot in the page header

Connects to these backend databases

Client SDKs available for these frameworks

JavaScript

React Native

Vue JS

Electron

Capacitor

Tauri

Svelte

Next JS

Nuxt

Flutter

React Expo

Kotlin Multiplatform

Swift

Node.js

.NET

Rust

SYNC MADE SIMPLE

What is PowerSync?

PowerSync is a sync engine that consists of two components: a service that enables high-scalability partial data syncing and a set of client SDKs that manage client-side persistence, consistency, reactivity and syncing write operations back.

Backend
database

PostgreSQL

MongoDB

MySQL

Microsoft SQL Server

PowerSync

PowerSync
Service

Backend API

PowerSync

PowerSync SDK

In-app
SQLite

SQLite

auto-synced

real-time

reactive

Server-side

State transfer managed for you

Client-side

Fast, reactive, local-first apps

BRING YOUR OWN backend, sync with SQLite

A sync engine built to use powerful open tech

Connect the most capable open database technologies: Postgres, MySQL, MongoDB or SQL Server on the backend and SQLite on the client-side.

PowerSync itself is also open-source and source-available.

The Power of SQLite on the Client-Side

SQLite

In-app SQLite

Transparent

Easy to debug

Extensible

Many extensions available

ORM Support

Works with popular ORMs

Versatile

Works well with both document data (with strong JSON support) and relational data

PowerSync SDK adds

Bi-directional automatic partial syncing

Real-time reactivity
with live queries

Painless schema
evolution

Illustration of a mobile app mockup with dinosaur characters

PowerSync dinosaur mascot next to a phone

SYNC ENGINES ENABLE INSTANTLY-RESPONSIVE USER EXPERIENCES

Today’s best apps use sync

Syncing apps provide an unmatched user experience: app interactions are instant, data updates fan out to all users in real-time, and apps are always available — even while offline.

AVOID GETTING BOGGED DOWN IN STATE MANAGEMENT

Make app dev more fun

Sync engines change the way data flows between client and server, taking the network off the user interaction path and cutting complexity.

Stop spending energy on micromanaging data and network calls, and let the sync engine take care of state transfer and state management for you.

API

network failure handling

state management

retries

cache invalidation

optimistic updates

loading state

Synced in background

Backend DATABASE, meet SQLite

How PowerSync works

On the backend

Backend database

PostgreSQL

MongoDB

MySQL

Microsoft SQL Server

1

The PowerSync Service connects to your source database.

PowerSync is non-invasive to your backend database, with minimal permissions required.

Learn more

Change stream

2

The PowerSync Service continuously replicates data by tracking changes in the source database.

PowerSync Service

Partial sync

3

Data is dynamically partitioned with Sync Streams you define, giving each user just the data they need.

Real-time streaming

4

Updates are streamed to clients in real-time.

The PowerSync Service elastically scales horizontally to large numbers of concurrent clients.

Learn more

In your client app

PowerSync Client SDK

SQLite

In-app SQLite

App data tables

App data tables

Upload queue

Upload queue

5

6

The PowerSync client SDK keeps an in-app SQLite database updated, enabling full offline-first functionality.

PowerSync uses JWTs for authentication.

Learn more

Writes are applied locally, and queued for upload to your backend API.

You have full control over logic for applying writes to your backend database.

Learn more

On the backend

Backend
API

Live demo app

React Multi-Client Demo App (PowerSync + Supabase)

Diagram of a demo app with multiple React Native clients

Implement sync today

PowerSync dinosaur mascot in sunglassesDecorative green hills behind the key features section

Read the original on powersync.com ↗