News for hackers. Stuff that matters.
Re:Please stop calling databases CP or AP (2015) by EGreg on Sunday September 06, 2020 @09:54PM (#24396065)
CAP is trivial and doesn’t tell you anything except that you can’t have all three things perfectly. It says nothing about the various trade-offs.

Often you can just let the people choose whether to accept the latest state of a particular partition of the database, or wait until it becomes consistent again.

Re:Please stop calling databases CP or AP (2015) by srtjstjsj on Sunday September 06, 2020 @10:23PM (#24396160)
CAP is trivial like Seinfeld isn't funny. It's so fundamental and well taught now that we forget there was a time before it was known.

CAP theorem is older than the career of nearly everyone on HN.

Re:Please stop calling databases CP or AP (2015) by quickthrower2 on Monday September 07, 2020 @12:29AM (#24396633)
Yes I remember the days when your choice was "Oracle" "SQL Server" or "Sybase". Affordable, Understandable, Reliable. Pick 1.
Re:Please stop calling databases CP or AP (2015) by jmnicolas on Monday September 07, 2020 @03:17AM (#24397297)
Are your qualities ordered? Because that would be the first time I see Oracle associated with affordable :)
Re:Please stop calling databases CP or AP (2015) by andi999 on Monday September 07, 2020 @12:34AM (#24396652)
What I do not understand though is how anyone could have thought that Seinfeld was funny at some point of time. Edit:

This is not a snarky comment, I really do not understand it. (But extremely off topic, I admit)

Re:Please stop calling databases CP or AP (2015) by wccrawford on Monday September 07, 2020 @08:26AM (#24398948)
I quite enjoyed a lot of the Seinfeld episodes when it came out. Some characters annoyed me to no end, but they helped the narrative along and it was enjoyable overall.

These days, I think we expect everything to go to extremes. It has to be hilarious, not just funny. It has to be tragic, not just dramatic. It has to be action packed, not just action.

Seinfeld wasn't hilarious. It was just funny, in kind of the same way your friends are funny when you're joking around the table during poker, but any outsiders would probably think you weren't funny at all.

Re:Please stop calling databases CP or AP (2015) by gandutraveler on Monday September 07, 2020 @06:22AM (#24398321)
Seinfeld was designed to be eventually funny.
Re:Please stop calling databases CP or AP (2015) by EGreg on Monday September 07, 2020 @02:19PM (#24401342)
Almost every episode culminated in an absurdist interaction of the various arcs, and it was hilarious.

This isn't funny?

https://youtu.be/wGhg-htVnJ0

Re:Please stop calling databases CP or AP (2015) by cheph on Monday September 07, 2020 @02:05AM (#24396972)
> CAP is trivial and doesn’t tell you anything except that you can’t have all three things perfectly.

And if someone don't understand it then it usually does not end well if they work with distributed data stores.

Re:Please stop calling databases CP or AP (2015) by dnautics on Monday September 07, 2020 @02:36AM (#24397094)
You'd be surprised at who doesn't understand it, even working with distributed data stores. I once had a conversation with someone who claimed that spanner overcame CAP. And suggested we build it. I don't think he understood also that spanner as implemented by Google requires atomic clocks.
Re:Please stop calling databases CP or AP (2015) by databrecht on Monday September 07, 2020 @05:33AM (#24398066)
It also doesn't really overcome CAP. As far as I understood, it just comes so close that people perceive it as a CAP system but technically it's still a CP system. Which can also be achieved without atomic clocks though nowadays: https://fauna.com/blog/consistency-without-clocks-faunadb-tr...
Re:Please stop calling databases CP or AP (2015) by databrecht on Monday September 07, 2020 @05:38AM (#24398095)
It's at the same time miss-education through over-simplification IMHO although it was never intended like that. Availability is never 100% so everything is far more subtle. I'd prefer that teaching would focus on resolution strategies, compromises and learn exactly what goes wrong in each situation.