TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Beating the CAP Theorem Checklist

89 pointsby pjvdsalmost 12 years ago

8 comments

finnhalmost 12 years ago
Nice checklist! I really like Coda Hale&#x27;s &quot;You Can&#x27;t Sacrifice Partition Tolerance&quot; [0]<p>I think part of people&#x27;s frequent confusion is thinking it&#x27;s &quot;CAP: Pick two&quot; when really it&#x27;s &quot;C or A: pick at most one for any particular situation&quot;.<p>0: <a href="http://codahale.com/you-cant-sacrifice-partition-tolerance/" rel="nofollow">http:&#x2F;&#x2F;codahale.com&#x2F;you-cant-sacrifice-partition-tolerance&#x2F;</a>
评论 #6218766 未加载
jchrisaalmost 12 years ago
One thing they don&#x27;t teach in CAP theorem class is that you can be AP sometimes and CP others. For instance you can be strongly consistent within one system boundary (perhaps a datacenter) and eventually consistent between datacenters.<p>The CAP theorem can thus be annoying on both sides of the divide: people who think they can beat it, and people who think every system must be fully described by either AP or CP. Real life is messy, and for most real distributed systems you can&#x27;t adequately characterize thier behavior just by pointing to a single spot on a Venn diagram of CAP.
评论 #6218027 未加载
zorkedalmost 12 years ago
In case someone does not recognize the reference, this is a parody of the Spam Solutions Checklist that used to be circulated when e-mail spam was a new issue: <a href="https://craphound.com/spamsolutions.txt" rel="nofollow">https:&#x2F;&#x2F;craphound.com&#x2F;spamsolutions.txt</a>
justinsbalmost 12 years ago
I think everyone accepts that the CAP theorem (as proved) is true. The issue is what conclusion you draw. The theorem just says you can&#x27;t be perfect on all three axes. Some people conclude that we must throw everything away, and e.g. use a key-value store.<p>To my mind, that&#x27;s a bit like learning about random bit-flips, and giving up programming.
评论 #6218134 未加载
dustingetzalmost 12 years ago
<p><pre><code> * Rich Hickey on Datomic, CAP and ACID [1] * Exploiting Loopholes in CAP (Michael Nygard of Relevance) [2] * How to beat the CAP theorem (by Nathan Marz of Twitter) [3] </code></pre> [1] <a href="https://news.ycombinator.com/item?id=5093037" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5093037</a> [2] <a href="http://www.infoq.com/presentations/Loopholes-CAP" rel="nofollow">http:&#x2F;&#x2F;www.infoq.com&#x2F;presentations&#x2F;Loopholes-CAP</a> [3] <a href="http://nathanmarz.com/blog/how-to-beat-the-cap-theorem.html" rel="nofollow">http:&#x2F;&#x2F;nathanmarz.com&#x2F;blog&#x2F;how-to-beat-the-cap-theorem.html</a>
kbensonalmost 12 years ago
It would be fairly awesome if the page parsed params to put x&#x27;s in the appropriate spots, so you you could use the appropriate link to customize it for the recipient you send it to.
vinkelhakealmost 12 years ago
Seems to have been inspired by the Programming Language Checklist: <a href="http://colinm.org/language_checklist.html" rel="nofollow">http:&#x2F;&#x2F;colinm.org&#x2F;language_checklist.html</a>
superuser2almost 12 years ago
I understand that this is probably wrong somehow, but what about a system wherein there is sufficient capacity to take a &quot;partitioned&quot; datacenter out of the loop entirely and serve web traffic from your other locations, then bring it back up to speed while still offline after the disruption ends?<p>Again, I accept that that&#x27;s probably bad, but why?
评论 #6220117 未加载