2 ms·
> Using less-consistent protocols to achieve a consistent view simply pushes the problem to a different layer. Absolutely, but if you can avoid using global lo
by jedberg 11y ago
> Using less-consistent protocols to achieve a consistent view simply pushes the problem to a different layer.
Absolutely, but if you can avoid using global locks, which are error prone and reduce reliability, isn't that a good thing?
- pron 11y agoIt's not a question of good or bad. Providing a higher level of consistency than what your application needs will only hurt you, but many applications just cannot do with weak consistency.
- derefr 11y agoI think the point being made here is that "what your application needs" is often something you chose your way into, and can choose your way back out of by backing out some other constraints—and that it's often more sensible to back out these constraints than to dive head-first into a problem domain that requires distributed locking. In other words: if you set out to create Bitcoin in 1998, you might end up running into distributed consensus problems that are difficult enough that you decide to "solve an easier problem"—such that you end up creating Paypal instead.
- pron 11y ago> I think the point being made here is that "what your application needs" is often something you chose your way into, and can choose your way back out of I think that while this may be true for many requirements, consistency is among the least flexible ones. Besides, losing consistency usually makes your system more complicated, not less. Weak consistency has some real benefits (latency in some cases, tolerance for more failure modes), but simplicity is not usually one of them. > In other words: if you set out to create Bitcoin in 1998, you might end up running into distributed consensus problems that are difficult enough that you decide to "solve an easier problem"—such that you end up creating Paypal instead. I don't think that the design problems behind Bitcoin are any easier than distributed consensus, which, BTW, is not necessary for quite a few consistency levels.