Author: Sanjana Aggarwal

Traits – The beauty of Scala

Reading Time: 4 minutes In this blog we will discuss about a Trait and how Traits can help you to beautify your code by Multiple Inheritance. Traits Traits are a fundamental unit of code reuse in Scala. Trait encapsulates method and field definitions, which can be reused by mixing into classes. Two most important concept about Traits are :- Widening from thin interface to rich interface Defining stackable modifications. Continue Reading

Powerful Concept of Lagom – CQRS

Reading Time: 3 minutes In this blog we will talk about, What is CQRS and Why the requirement of using CQRS occurs. CQRS stands for Command, Query, Responsibility Segregation. As we know Segregation means1. Separating a Microservice for each logic business operation from a Monolith. 2. In same way, Segregate the read side from the write side. This helps in increasing the performance, scalability, and security. Tradition Approach A Continue Reading

What is the CAP Theorem?

Reading Time: 3 minutes I will discuss about CAP theorem which is the key mechanism to know how distributed database system works. CAP theorem helps understanding the design of a database keeping in mind what do we need out of Consistency, Availability or Partition tolerance for a database. Distributed Database System:- Distributed Database system is a collection of a logically interrelated database distributed over the computer network. As we Continue Reading

String Interpolation in Scala

Reading Time: 2 minutes Lets just refresh few of the Scala concepts in more detail, So in this blog we are going to discuss about string interpolation which is a amazing concept. As we know logging, printing and debugging is an important part of programming by String Interpolation we can use the String literals in an easy way. String Interpolation String interpolation is a concept in which we can Continue Reading

Functional Java: Powerful Feature of Java8 – Lambda Expression

Reading Time: 2 minutes As we know that java8 has come up with a lot of new features Lambda Expression is one of them. It will help us in many ways like reduce the boilerplate code and make our code look clean and concise. Lambda Expression A Lambda expression is an anonymous function and is expressed as an instance of functional interfaces. Why we need Lambda Expression and how Continue Reading