Re:Show HN: Gun v0.1.0 – The Easiest Database Ever
by karlgrz on Friday February 20, 2015 @02:11AM
(#9079347)
You -cannot- have a distribute database without consistency. Prove us ALL wrong, please.
Re:Show HN: Gun v0.1.0 – The Easiest Database Ever
by marknadal on Friday February 20, 2015 @03:44PM
(#9082880)
Maybe I wasn't clear... GUN does have Eventual consistency, but not strong/global consistency.
Aka GUN is AP and Eventually consistent. You manually at the application layer can decide to lock, sacrificing Availability, and get strong consistency.
The merge algorithm works in an Eventually consistent case, but obviously is too naive for global Consistency, you'd need some form of consensus.
Or does that not address your comment?
I fail to see how your merge algorithm is deterministic in case of failures.