Reading Time: 4 minutes When we create any microservice, or in general any service, one of the biggest task is to manage data persistence. Lagom supports various databases for doing this task. By default, Lagom uses Cassandra to persist data.
Reading Time: 4 minutes In the previous blog, we discussed the journey and the features of RAP. In this blog, we will discuss the architecture and technical details. RAP Architecture: We have tried to follow the Domain-Driven Design and Reactive principles in designing RAP architecture. All RAP team members completed all the Reactive Architecture courses launched by Lightbend on cognitive classes to ensure adherence to reactive principles. These courses Continue Reading
Reading Time: 4 minutes A few months back, I was working on interesting customer engagement. Lagom was getting popularity, therefore, I and my few team members wanted to explore it to see if it would suit our needs. Just reading its documentation was not enough to get the proper practical hands-on. So we thought to do a project. The idea was that we should not build a dummy project, Continue Reading
Reading Time: 3 minutes Consider a situation where a microservice is deployed on multiple pods and on condition one pod got restarted with any of the failure reason makes unreachable and at the same time interdependent services are registers its IP for communication. Now, since other pods of the service are alive but not able to communicate makes the communication failure as well as making the failure of every Continue Reading
Reading Time: 2 minutes In this blog, we will discuss the latest changes in the lagom v1.5. TLS Support Now framework provides/supports self-signed certificates for the both environment(dev & test). When we want to use it HTTP for the development we can enable it via: When we want to use TLS server for the test server, we can enable it via: Akka Management Earlier Akka management uses dedicated HTTP Continue Reading
Reading Time: 4 minutes In this blog, I will talk about using Couchbase with Lagom’s Persistent Entity API. And then we will see how we can query for fetching the data. We already know that Lagom handles data persistence with ‘Persistent Entity’ which holds the state of individual entities. And to interact with them one must know the identifier of the entity. So Lagom provides the support to build Continue Reading
Reading Time: 4 minutes In this blog, we will discuss CQRS and how it is different from old approaches. CQRS stands for Command Query Responsibility Segregation. The approach that individuals use for interacting with a data system is to treat it as a CRUD datastore. By this, I mean that we have a mental model of some record structure. We think about producing new records, scanning records, updating existing records, Continue Reading
Reading Time: 4 minutes The Microservice architecture is in an uproar, in the industry and the business domain. The Microservice architecture tackles the drawbacks associated with the Monolithic architecture. The Lagom framework is a front-runner in the development of modern enterprise applications. This blog is the first in a multi-part series on The Lagom framework. In this blog, I’d take you through the following topics: Why Microservices and not Continue Reading
Reading Time: 10 minutes Microservices have become a crucial part of any enterprise these days, no matter if it is a big or a small enterprise. When something this big is present in the market why not see some fundamentals of the same? So here we’ll go through the concepts like what is a microservice and Saga Patterns that an ideal microservice should have.
Reading Time: 3 minutes People often get confused in Event Sourcing and CQRS(Command Query Responsibility Segregation) thinking that both are same. But they are different techniques which can be combined together to create more resilient and elastic applications.
In this blog, we will discuss the difference between CQRS and Event sourcing and how they can be combined.