by rtpg · 2y ago · 0 comments
> every request received by a non-failing node in the system must result in a response
I don't believe that encodes latency
Instead, here's consistency:
> any read operation that begins after a write operation completes must return that value, or the result of a later write operation
"after a write operation completes" feels like where latency kicks in? Because within that space you can play around with completing a write operation to get what you want.
In a real system you can wait for a partition event to resolve itself before replying which preserves consistency at the cost of latency (availability).
This is true, but PACELC states that even if there is no partition you still have a consistency vs latency tradeoff (because the processes that guarantee consistency eat up latency in form of network roundtrips)