A simple way to build collaborative web apps
1–10 of 73 posts
Re: A simple way to build collaborative web apps
#2Re: A simple way to build collaborative web apps
#3What about conflict resolution? If two users update the same record/field around the same time? Isn’t that the trickiest part of real time?
"This means that transactions are guaranteed to be applied atomically, in the same order, across all clients. Further, all clients will see an order of transactions that is compatible with causal history. Basically: all clients will end up seeing the same thing, and you're not going to have any weirdly reordered or dropped messages."
[0] https://doc.replicache.dev/design
Note: There's more in their links, but the linked sites are down..
Re: A simple way to build collaborative web apps
#4What about conflict resolution? If two users update the same record/field around the same time? Isn’t that the trickiest part of real time?
Re: A simple way to build collaborative web apps
#5What about conflict resolution? If two users update the same record/field around the same time? Isn’t that the trickiest part of real time?
Re: A simple way to build collaborative web apps
#6Re: A simple way to build collaborative web apps
#7What about conflict resolution? If two users update the same record/field around the same time? Isn’t that the trickiest part of real time?
Re: A simple way to build collaborative web apps
#8We gave up on the websocket part and implemented basic polling, because they were not supported by App Engine at the time (things might have moved on since then, which is a couple of years ago). Yet, for a note/todo/habit tracking app, it simply doesn't need to be real-time from our experience.
Have a play at https://www.mindpad.io/app/. You can see how it works if you open up the web app in two incognito tabs, or on an iPhone and the web.
Re: A simple way to build collaborative web apps
#9What about conflict resolution? If two users update the same record/field around the same time? Isn’t that the trickiest part of real time?
Re: A simple way to build collaborative web apps
#10Excellent write. It would be great to know why CockroachDB failed your needs.