Your SlideShare is downloading. ×
CAP and you
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

CAP and you

2,632
views

Published on

CAP theorem is simple if we all use the same definitions. CAP follows from the requirements for nodes in distributed systems to send and receive messages before responding if the system requires …

CAP theorem is simple if we all use the same definitions. CAP follows from the requirements for nodes in distributed systems to send and receive messages before responding if the system requires atomic consistency. If the system can't pass messages, it can't be consistent. If consistency is a requirement, then losing messages implies the system cannot respond.

These properties apply to any distributed systems.

Published in: Technology

1 Comment
0 Likes
Statistics
Notes
  • Is there a recording of the live talk anywhere (I can't find one)? Would love to hear more about slide 18, which you also commented on in a recent DevOps Cafe podcast.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
2,632
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
40
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Consistency…Availability…Messages…& You…
  • 2. CAPtheorem
  • 3. Consistent
    ACID Compliant
    “…as if every request was executing on a single node, responding to operations one at a time.”
  • 4. Available
    “…every request received by a non-failing node in the system must result in a response.”
  • 5. Partition Tolerant
    “…the network will be allowed to lose arbitrarily many messages sent from one node to another”
  • 6. Pick Any Two!?!!
    It’s complicated…
  • 7. Consistent & Partition Tolerant
    “…it is easy to achieve atomic data and partition tolerance. The trivial system that ignores all requests meets these requirements.”
  • 8. Consistent & Available
    “If there are no partitions, it is clearly possible to provide atomic, available data.”
  • 9. Available & Partition Tolerant
    “If there are no consistency requirements, the service can trivially return v0, the initial value, in response to every request.”
  • 10. t-Connected Consistent
  • 11. What has been neglected?
  • Latency
    Petite Partitions
    the little deaths
  • 16. When the available consistency exceeds the required availability a choice must be made…
  • 17. Raising the question, how are business decisions made?
  • 18.
  • 19. What protocols are used to pass messages in your organization?
  • 20.
  • 21. Has your organization chosen consistent, available or partition tolerant?
  • 22. In any human interaction, the required amount of communication is inversely proportional to the level of trust…
    @bhorowitz
  • 23. Andrew Clay Shafer
    @littleidea
    work on stuff that matters