CAP Theorem

Have your cake and eat it, just not consistently, all the time in a partition-tolerant way!

CAP

  • Consistency
  • Availability
  • Partition Tolerance

You can't have all three!

Consistency

Data is the same for everyone, everywhere

Availability

Data is always available

Partition Tolerance

Handling communication failures between nodes

In English

You can't show all users up-to-date data all the time

Why Not?

You Just Can't

Facebook

Shop

Consistency Sacrifice

Stock Market

Limits

Availability Sacrifice

UNiDAYS - Registration

  • Insert into primary database
  • Insert into rapid access cache
  • Send welcome email
  • Record registration for reporting
  • Lookup email format in University list for step 2

deck

By trullock

deck

  • 662