Lagom Architecture

Microservices and the Saga Pattern

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.

Lagom: Consuming a service part-2

Reading Time: 2 minutes So here’s the situation: We are using Lagom framework to develop our micro-services and we need to consume data from other services. What should we do? Well, it’s not going to be a problem for us. Lagom provides very easy way to consume a service. The very first way to consume a service is to use the unmanagedServices parameter provided in Lagom plugin. To understand Continue Reading

Let’s dive deep into Apache Ignite

Reading Time: 4 minutes Let’s first have some basic understanding of Apache Ignite and then we will look more into its life cycle with the help of a demo application. Apache Ignite is an in-memory computing platform that is durable strongly consistent and highly available with powerful SQL, key value and processing APIs. Features : Durable Memory : Apache Ignite is based on the Durable Memory architecture that allows Continue Reading

Unit Testing vs. Component Testing in Lagom

Reading Time: 4 minutes Let’s first understand the basic difference between unit testing and component testing and then we will have a look at a practical application of unmanaged service in lagom with its test cases. Difference between Unit Testing and Component Testing Unit Testing involves testing of individual units(classes) to demonstrate that the program executes as per the specification and it validates the design and technical quality of Continue Reading

Automatic Deployment Of Lagom Service On ConductR On DCOS

Reading Time: 2 minutes In our previous blog we have seen how to deploy the lagom service on conductr – https://blog.knoldus.com/2017/05/25/deploying-the-lagom-service-on-conductr/ In this blog we will create script to deploy your Lagom service on conduct present or running on top of DCOS. There are two types of automatic deployments can be done – Deploying from scratch (stop the current Lagom bundle and deploy the new one) Rolling/Incremental Deployment( Overriding Continue Reading

Lagom: Let’s Create Micro Services Application

Reading Time: 3 minutes In previous post we introduced you all with our new hero Micro Services but now let’s create our first application. Light Bend Inc. created Lagom framework for creating reactive micro services. Its really easy to build micro services applications using Lagom framework because of reduced boiler plate task and code. Architecture overview of Lagom Application, our application is basically divided into 2 components application-api   Continue Reading

Lagom Framework: The Legacy WordCount Example

Reading Time: 3 minutes What is Lagom? Lagom is an open source micro-service framework, built with Akka message-driven runtime and Play web framework and finally light bend service orchestration. Mixing all these technologies abstracts away the complexities of building, running, and managing microservice architectures. Lagom is a Swedish word meaning “just the right amount”. Often, when people talk about microservices, they focus on the micro part of the name, Continue Reading