Author: Divya Dua

Concepts of CQRS

In the previous blog, we have learnt what Event Sourcing is. Moving forward, we will dive into the concepts of CQRS, understanding its meaning, why is it required and its advantages. CQRS Pattern CQRS stands for Command Query Responsibility Segregation. As the name suggests, we split the application in two parts: Command-Side and Query-Side. Now one will ask what this command and query means? Okay, Continue Reading

Introduction to Event Sourcing

Have you ever come across the terms Event Sourcing and CQRS? This blog is a good start to gain basic knowledge about the two. Here, we will learn what is Event Sourcing? And what are the benefits of having an event sourced application? CQRS will be covered in the next blog. What is Event Sourcing? Event sourcing is the practice of capturing all changes as Continue Reading

Back2Basics: Limit which classes a Trait can be mixed into!

A Scala trait is just like a Java interface. A trait can be extended by different classes, just the way we do with Java interfaces and also a class can inherit multiple traits, called mixins. To know more about basics of the trait, refer to this blog. But what if we want to restrict mixing of traits to a limited number of classes? Do we have Continue Reading

Amazon ES – Secure your cluster from anonymous users! #2

In the previous blog, we have learned how to create a domain on Amazon ES and also how to create an index using Curl on the cluster. Now, let’s just look how we can control access to Amazon ES Domain. One of the key benefits of using Amazon ES is that you can utilize AWS Identity and Access Management (IAM) to control access to your Continue Reading

Amazon ES – setting up the cluster! #1

Amazon Web Services (AWS) is a cloud services platform, providing compute power, database storage, content delivery, security options and other functionality to allow businesses to build sophisticated applications with increased flexibility, scalability and reliability. Amazon Elasticsearch is one of the services provided by AWS. Amazon ES Amazon Elasticsearch Service, also called Amazon ES, is a managed service that makes it easy to create a domain, Continue Reading

Java High-Level REST Client – Elasticsearch

Elasticsearch is an open-source, highly scalable full-text search and analytics engine. Using this, you can easily store, search, and analyze a large amount of data in real time. Java REST client is the official client for Elasticsearch which comes in 2 flavors: Java Low-Level REST client – It allows communicating with an Elasticsearch cluster through HTTP and leaves requests marshalling & responses un-marshalling to users. Continue Reading

Persistent Read Side in Lagom

Here in this blog, we will be discussing how we can query the lagom’s microservices for retrieving data. I hope you are clear with persistent entity concepts in Lagom , if not, you can take a quick overview by going through this blog. Lagom handles data persistence by using ‘Persistent Entity’ which holds the state of individual entities, but to interact with them one must Continue Reading

DATA PERSISTENCE IN LAGOM

Are you finding it difficult to understand lagom persistence? Don’t worry because help is right here. In this blog, we will learn about lagom persistence with the help of a simple application and also discuss its theoretical aspects. Before we begin, make sure you know about Event Sourcing and CQRS. You can read about it in details from this link . Choosing a database When Continue Reading

%d bloggers like this: