Hacker News new | past | comments | ask | show | jobs | submit login

eventually consistent database Is an oxymoron



Please don't post unsubstantive comments here.


In case you didn't know, it's in used as a technical term in distributed computing circles.

https://en.m.wikipedia.org/wiki/Eventual_consistency


Alternatives to strong consistency in databases has been around for quite a while...


When you get down to it, between cache coherency across CPUs and memory, disk flush delays and disk caches, every database is eventually consistent.

And if you want to operate over a distributed network, which means you WILL have network partitions, then you are subject to CAP and will need eventual consistency mechanisms.


> When you get down to it, between cache coherency across CPUs and memory, disk flush delays and disk caches, every database is eventually consistent.

This is a false. None of the things you listed preclude consistency.

> And if you want to operate over a distributed network, which means you WILL have network partitions, then you are subject to CAP and will need eventual consistency mechanisms.

That's not how CAP works. Plenty of distributed CP databases exist.


Iirc, Spanner is eventually consistent.


Cloud Bigtable is eventually consistent, Spanner is strongly consistent.


spanner is strongly consistent


spanner does support eventually consistent snapshot reads as well with improved latency benefits (as you're effectively foregoing a transaction).


Ask me how I know you've never scaled a high throughput Elasticsearch cluster.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: