3 ms·
> All this recent hype about sync engines and local first applications completely disregards conflict resolution. Not really true though. I've used a couple of
by sgt 2y ago
> All this recent hype about sync engines and local first applications completely disregards conflict resolution.
Not really true though. I've used a couple of local sync engines, one internally built and another one which is both commercial and now open source called PowerSync[1]. Conflict resolution is definitely on the agenda, and a developer is definitely going to be mindful of conflicts when designing the application.
[1] https://www.powersync.com/ https://www.powersync.com/
- Sammi 2y agoMy unfortunate point is that the dev cannot know what the user is doing, and so cannot in principle know what choice to make on behalf of the user in case of a conflict. This is not a code problem. It cannot be solved with code.
- sgt 2y agoI've found that in almost all cases - the latest update "wins" strategy is fine. You could have two sessions working with conventional API calls and still have a conflict. As a dev you need to restrict what the user can do.