3 ms·
Well, it could be me, but that doesn't sound very simple. Isn't that something the framework should take care of? Also, what happens when simultaneously transm
by amelius 12y ago
Well, it could be me, but that doesn't sound very simple. Isn't that something the framework should take care of?
Also, what happens when simultaneously transmitted actions/patches are in conflict?
- elierotenberg 12y agoAbsolutely. I plan to include it in the framework ultimately, although it requires implementing an optimistic client-side dispatcher in JS which mocks the optimistic behaviour of the actual, eventually true server-side dispatcher (which may not always be implemented in full JS, eg. if it needs to sync with a db). Conflicts are handled by the server-side dispatcher logic. Many applications can handle conflicts easily (eg. chat rooms which only append new messages), others can be more complex (eg. document editing). As mentionned in another comment, Remutable.Patch leaves room for rebase-like algorithms. Its definitely a very promising further work! :)