Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CAP Theorem Basics

mrzasa
August 05, 2015

CAP Theorem Basics

Slides for Ruby Talks (workshops at PGS Software). Simple explaination of the CAP theorem,

mrzasa

August 05, 2015
Tweet

More Decks by mrzasa

Other Decks in Programming

Transcript

  1. DISTRIBUTED SYSTEM A distributed system is a so ware system

    in which components located on networked computers communicate and coordinate their actions by passing messages.
  2. Guaranteed properties are maintained even when network failures prevent some

    machines from communicating with others. PARTITION TOLERANCE
  3. In a distributed system connected with an asynchronous network you

    can pick two. Why? Consider two clients attached to nodes without network connection. CAP: CHOOSE TWO
  4. WHERE IS IT USEFUL? web forms: fetch data, wait and

    send it mobile apps: offline mode distributed databases: mongo, redis, elastic search what about the project you develop?