The CAP theorem (or Brewer Theorem) is the idea that a distributed computing system is not able to provide partition tolerance, consistency and availability at the same time. It was developed in 2000 by Eric Allen Brewer. CAP theorem has applications in database and server infrastructure