cap theorem
play

CAP Theorem From CAP 12 Years Later: How The Rules - PowerPoint PPT Presentation

CAP Theorem From CAP 12 Years Later: How The Rules have Changed by Eric Brewer Desirable ProperGes


  1. CAP ¡Theorem ¡ From ¡“CAP ¡12 ¡Years ¡Later: ¡How ¡The ¡ Rules ¡have ¡Changed” ¡by ¡Eric ¡Brewer ¡

  2. Desirable ¡ProperGes ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Consistency ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ Availability ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ParGGon ¡Tolerant ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ You ¡may ¡only ¡have ¡two ¡of ¡three. ¡

  3. CAP ¡Update ¡ ¡ CAP ¡only ¡prohibits ¡perfect ¡availability ¡and ¡consistency ¡in ¡the ¡presence ¡of ¡parGGons. ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ Two ¡of ¡three ¡is ¡misleading: ¡ ¡ ¡ ¡ ¡ParGGons ¡are ¡rare ¡so ¡don’t ¡forfeit ¡A ¡or ¡C ¡when ¡the ¡system ¡is ¡not ¡parGGoned. ¡ ¡ ¡ ¡ ¡ ¡All ¡three ¡properGes ¡are ¡more ¡conGnuous ¡than ¡binary. ¡ ¡ ¡ ¡ ¡Availability ¡scales ¡from ¡0..100% ¡ ¡ ¡ ¡ ¡ ¡Consistency ¡too ¡may ¡vary, ¡e.g., ¡“eventual ¡consistency”. ¡ ¡ ¡ ¡ ¡ParGGons ¡have ¡nuances ¡ ¡ ¡ In ¡essence, ¡CAP ¡allows ¡perfect ¡C ¡and ¡A ¡most ¡of ¡the ¡Gme. ¡When ¡parGGons ¡occur ¡ or ¡are ¡thought ¡to ¡have ¡occurred, ¡a ¡“parGGon ¡mode” ¡may ¡be ¡appropriate. ¡ Three ¡steps ¡for ¡parGGon ¡mode: ¡ ¡ ¡ ¡ ¡-­‑ ¡detect ¡parGGons ¡ ¡ ¡ ¡ ¡-­‑ ¡enter ¡an ¡explicit ¡parGGon ¡mode ¡that ¡may ¡limit ¡some ¡operaGons ¡ ¡ ¡ ¡ ¡-­‑ ¡iniGate ¡a ¡recover ¡process ¡to ¡restore ¡consistency ¡and ¡compensate ¡for ¡mistakes ¡ ¡ ¡ ¡ ¡ ¡ ¡made ¡during ¡a ¡parGGon. ¡ ¡ ¡ ¡ ¡ ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend