electric
electric copied to clipboard
Sync little subsets of your Postgres data into local apps and services.
- [ ] demonstrate using the `fetchClient` param to add custom auth headers
Currently the `ChangeMessage` and `ControlMessage` coming from upstream can only be differentiated by whether they have an `action` header or `control` header. This has caused a less than ideal experience...
Just for completeness' sake and since it's not that much work, we can support all comparison predicates described in [Section 9.2](https://www.postgresql.org/docs/current/functions-comparison.html#FUNCTIONS-COMPARISON-PRED-TABLE) of the official Postgre docs. - [ ] `x...
A basic example but this time with offline support https://tanstack.com/query/latest/docs/framework/react/guides/mutations#persisting-offline-mutations
It should be similar to the other basic examples.
It should be similar to the other basic examples.
It should introduce the basic ideas of the API and how to fetch the cached log + switch to a live long-polling mode.
Help people create ad-hoc benchmarks to test what Electric's performance would be like for their application i.e. latency for uncached/cached shape fetching, number of clients that can be connected receiving...
Create an initial reliability test suite. Look for things that can make Electric break make a test and make it pass. - Simulate database and server crashes - Delete the...
Create a testing suite for load-testing the HTTP API. Do initial load testing to find bottlenecks in the system.