Re:Horizon 1.0: a realtime, open-source JavaScript back end ...
by amelius on Tuesday May 17, 2016 @02:48PM
(#11716221)
Are the transactions optimistic? How does the logic that concurrently applies/rolls-back these transactions over multiple clients work? I'm very interested in this, do you have some internal documentation on it?
[ Parent
| on HN ]
Re:Horizon 1.0: a realtime, open-source JavaScript back end ...
by coffeemug on Tuesday May 17, 2016 @02:53PM
(#11716267)
Take a look at this comment: https://news.ycombinator.com/item?id=11716145. TL;DR: currently not optimistic but will be soon; it's fairly simple to do because RethinkDB core has built in support for it. Once the feature lands we'll talk about the implementation in detail.
Re:Horizon 1.0: a realtime, open-source JavaScript back end ...
by amelius on Tuesday May 17, 2016 @03:56PM
(#11716823)
Okay I can wait :)
But without optimistic transactions, what sets Horizon apart from just running the transaction-code on the server? If I understand it correctly, the latency will be the same in both cases, i.e., one network round-trip.