Ambassador Pattern

What is ambassador pattern? As per this pattern you create helper services which is actually responsible for sending request to other application or services on behalf of your service. These helper services are called as Ambassador services. Using ambassador pattern you offload the work for connectivity tasks like monitoring, logging, routing, security, application of circuit…

Database Partitioning

What is a database table partitioning? Partitioning is the process of dividing large database table into smaller parts. Partitioning helping in making queries fast, as after dividing large table, queries have to access smaller data. What are different ways of partitioning? Two ways: Horizontal partitioning Vertical partitioning What is Vertical Partitioning? Vertical table partitioning is…

CAP Theorem

What is the CAP Theorem? CAP theorem states that any distributed system can support only two among : Consistency Availability Partition tolerance Before we proceed, understand that in a distributed system, each instance of system is referred as node below. What do you mean by Consistency? Consistency implies: When data is distributed among nodes, all…

Introduction to Containerization and Docker

What is containerization? Containerization is approach in which application, dependencies and its configuration are all packaged together as container image.  So, if a application requires, unix environment, with Java8 installed, with Tomcat installed and application artefacts placed in certain directory, all this will be part of container image. Just as shipping containers, which allow items…