Month: May 2020

Caching

Introduction Caches take advantage of the locality of reference principle: recently requested data is likely to be requested again. A cache is like short-term memory: it has a limited amount of space, but is typically faster than the original data source and contains the most recently accessed items. Caches can exist at all levels in … Continue reading Caching

CAP theorem

Distributed system is a system whose components are located in different computer systems and all these nodes are able to communicate by passing messages to each other. In computer science, the CAP theorem, also named Brewer’s theorem after computer scientist Eric Brewer. This theorem state that it is impossible for any distributed system to achieve more than two out of … Continue reading CAP theorem