Singleton Design Pattern

What is Singleton’s design pattern?Singleton design pattern is a part of the creational design pattern which is used to implement the creation of a single instance in an application (per JVM). This pattern is responsible to restricts the instantiation of a class to one object only. In JDK, java.lang.Runtime is…

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