Sync Engine
- https://x.com/martin_casado/status/1834446474241032703?s=19
- https://www.youtube.com/watch?app=desktop&v=VLgmjzERT08
- Local first app
- commit changes to local storage
- and use a sync engine to sync those changes to the backend
- backend can accept or reject the changes
Benefits:
- developer productivity
- no need for api calls, error handling
- quick iteration: devs can implement features in client side only without sync. And at last can write the server side code & db schema.
- Sever load
- server load is greatly reduces
- The first time the app is started, it has to load all the state. But after that every page load doesn't add load to the server
- The first time load is a one time event, and can be managed by caching and other means
Also see
- Local First Conference for related ideas.
- https://stack.convex.dev/sync