Skip to Content
Mastering Flask Web Development - Second Edition
book

Mastering Flask Web Development - Second Edition

by Daniel Gaspar, Jack Stouffer
October 2018
Intermediate to advanced
332 pages
8h 9m
English
Packt Publishing
Content preview from Mastering Flask Web Development - Second Edition

CAP theorem

The CAP theorem stands for consistency, availability, and partition tolerance, and states that it's not possible for a distributed system to guarantee all three, so a trade-off must be made.

The following list shows exactly what each of these guarantees means on a distributed system:

  • Consistency: Guarantees that each node on a cluster returns the most recent write and preserves linear consistency
  • Availability: Every non failing node is able to respond to a request with a non error response
  • Partition tolerance: The system continues to operate despite network outages/delays

The theorem states that in case of a network partition, a distributed system has to choose between consistency or availability, so in the case of a network ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flask Web Development, 2nd Edition

Flask Web Development, 2nd Edition

Miguel Grinberg
Flask Web Development

Flask Web Development

Miguel Grinberg

Publisher Resources

ISBN: 9781788995405Supplemental Content