Replication
The service continuously replicates data from the source database, then:- Pre-processes the data according to the sync rules (both data queries and parameter queries), splitting data into sync buckets and transforming the data if required.
- Persists each operation into the relevant sync buckets, ready to be streamed to clients.
Authentication
The service authenticates users using JWTs, before allowing access to data.Streaming Sync
Once a user is authenticated:- The service calculates a list of buckets for the user to sync using parameter queries.
- The service streams any operations added to those buckets since the last time the user connected.