4 ms·
If the latency is bounded, then you have strong consistency. Just add a sleep(5) call after every write to make it linearizable.
by NavinF 5y ago
If the latency is bounded, then you have strong consistency. Just add a sleep(5) call after every write to make it linearizable.
- ignoramous 5y agoWhat if the process interrupts before it could sleep(5) and restarts...
- NavinF 5y agoStill linearizable under the insane assumption that the db is always “low latency” which implies it never goes down. The write either happened or it didn’t.
- lubesGordi 5y agoLatency is never bounded, in fact that is what the P is in CAP.
- NavinF 5y agoYep. It was not a serious suggestion. Without partitions, everything would be easy so it’s kinda silly to assume low latency.