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
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
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
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
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
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.
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.
Both Lagom and Kubernetes are gaining popularity quite fast. Lagom is an open source framework for building reactive microservice systems in Java/Scala. And, Kubernetes (or K8s in short) is an open-source system for automating deployment, scaling, and management of containerized applications. Together they make an excellent stack for developing Reactive microservices of production grade. We have already seen a lot of blogs on Lagom on this Continue Reading
Monitoring is a pain when it comes to distributed applications, and even more when you have shared or non-shared variables to monitor in your application. Here in this blog, I’ll explain two tools which can ease the monitoring efforts, one for generating metrics called Cinnamon and other to visualize them, called Prometheus. Let’s have a quick brief intro about these two – Prometheus – An open-source monitoring system with Continue Reading