Non-blocking Algo

Pre-requisites – Multi-threading. What is blocking?Blocking algorithm allows only one thread at a time to access a shared resource in a multi-threaded environment. A resource needs to be shared among a huge number of users but only one user is allowed to use it, a user uses a thread to…

Continue reading

CAP Theorem

CAP Theorem defines three characteristics of distributed database systems namely- Consistency, Availability and Partition tolerance. These three characteristics defined the capabilities and in-capabilities of your distributed database system. The CAP theorem is also known as Brewer’s Theorem on the name of professor Eric A. Brewer. A distributed system is a…

Continue reading