News for hackers. Stuff that matters.
Re:The CAP theorem Is Irrelevant for Cloud Systems by sir-dingleberry on Thursday July 25, 2024 @11:20AM (#41069724)
The CAP theorem is irrelevant if your acceptable response time is greater than the time it takes your partitions to sync.

At that point you get all 3: consistency,availability, partitioning.

In my opinion it should be the CAPR theorem.

Re:The CAP theorem Is Irrelevant for Cloud Systems by anikdas on Thursday July 25, 2024 @11:34AM (#41069880)
> The CAP theorem is also irrelevant if your acceptable response time is greater than the time it takes your partitions to sync. This is really an oversimplification. The more important metric here is the delay between write and read of the same data. Even in that case if when the system write load is unpredictable it will definitely lead to high variance in replication lag. The number of times I had to deal with a race condition for not considering replication lag factor is more than I would like to admit.
Re:The CAP theorem Is Irrelevant for Cloud Systems by adrr on Thursday July 25, 2024 @12:01PM (#41070198)
Partition encompasses response time. If you have defined SLAs on response time and your partition times exceed that, you're not available.
Re:The CAP theorem Is Irrelevant for Cloud Systems by sir-dingleberry on Friday July 26, 2024 @07:46AM (#41077818)
One option to increase availability though is to reduce partition times.
Re:The CAP theorem Is Irrelevant for Cloud Systems by jayzalowitz on Thursday July 25, 2024 @11:21AM (#41069747)
and considering most cloud compute has a better backbone or internal routing, userspace should see this less.

That being said, if this is truly a problem for you CRDB is basically built with this all in mind.

Re:The CAP theorem Is Irrelevant for Cloud Systems by sir-dingleberry on Thursday July 25, 2024 @11:26AM (#41069794)
Wow have heard about CRDB but just now reading what it does.

That's an incredible piece of engineering.

Re:The CAP theorem Is Irrelevant for Cloud Systems by alanwreath on Thursday July 25, 2024 @11:38AM (#41069921)
I mean you just KNOW that while that addition may make sense, some 12 year minded person like me would just start referring to it as the CRAP theorem. And I don’t even dislike the theorem.
Re:The CAP theorem Is Irrelevant for Cloud Systems by pessimizer on Thursday July 25, 2024 @11:30AM (#41069838)
What's the difference between choosing an acceptable response time that is greater than the time it takes for your partitions to sync and giving up on availability?

I don't think it makes sense to say that CAP doesn't apply if you don't need consistency, availability, or tolerance to partitions. CAP is entirely about the need to relax at least one of those three to shore up the others.

Re:The CAP theorem Is Irrelevant for Cloud Systems by hot_gril on Thursday July 25, 2024 @02:16PM (#41071655)
You mean CLAP? Latency and availability are basically the same thing. CAP is simple.
Re:The CAP theorem Is Irrelevant for Cloud Systems by sir-dingleberry on Tuesday August 06, 2024 @05:58AM (#41169271)
No I'm talking about response time 'requirements'