3 ms·
What if the client just reads from every server and compares the timestamps?
by raincole 2y ago
What if the client just reads from every server and compares the timestamps?
- coolThingsFirst 2y agoit violates the consistency rule. it must get the value that it was written
- af3d 2y agoUnfortunately, timestamps are not immutable. The system clock can be miscalibrated or even deliberately manipulated. It is however something of an open question. CAP is still a bit lacking in terms of rigorous mathematical proof (albeit the arguments are pretty convincing).
- shepherdjerred 2y agoIt is possible but difficult at scale. https://dl.acm.org/doi/pdf/10.1145/112600.112601 https://dl.acm.org/doi/pdf/10.1145/112600.112601 https://cloud.google.com/spanner/docs/true-time-external-consistency https://cloud.google.com/spanner/docs/true-time-external-con...
- googledocsftw 2y agoRead from every server is not necessarily possible, unless we assume no network partitions.