▲ | vladstudio 2 days ago | |||||||||||||||||||||||||||||||||||||
in case anyone finds this useful, here's the slowly growing collection of links to similar tools: https://collabs.readthedocs.io/en/latest/ https://rxdb.info/offline-first.html https://github.com/siriusastrebe/jsynchronous I hope one day to try them all :-) Or read a summary from someone who does. | ||||||||||||||||||||||||||||||||||||||
▲ | ozim 2 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
I wonder why there are so many, just people reinventing stuff that no one really needs? For me personally I have 4 of those as visited, pouchdb, automerge, loro and sqlsync of course. I was trying to fit such a tool into existing architectures that I deal with at work but nothing really makes sense. My guess is those solutions are in totally wrong abstraction layer, creators think that would be best thing since sliced bread - but in reality having rest API and some persistence on client is like 99% good enough. With service workers in browser and mobile apps no problem of just having data stores. Sending out specific partial updates, just reloading full state from the server is just easy to explain to the users and easy to implement. Last write wins with some auditing log is also good for something like 99.9% of applications and is super easy to explain to people - what's not easy to explain and not easy to implement is merging conflicts on database data. It is not easy to make audit logs server side so they are not tampered with if you just sync full database instead of doing REST requests. This approach with "sync databases" feels for me exactly like someone proposing use of LateX because it is great to people who need to write 10 page essays. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | codeulike a day ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
"nearly every problem these days is a synchronisation problem" | ||||||||||||||||||||||||||||||||||||||
▲ | isaachinman a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
Wrote a very-related blog post here: | ||||||||||||||||||||||||||||||||||||||
|