lagom

DATA PERSISTENCE IN LAGOM

Reading Time: 5 minutes 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

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

Lagom and Immutability

Reading Time: 4 minutes What is Lagom? Lagom is not in disguise anymore. Everyone who’s following on micro-service architecture knows about Lagom framework. Lagom is an open source framework built with the shifting from monoliths to micro-services-driven application architecture in mind. It abstracts the complexity of building, running and monitoring micro-services driven applications. The Lagom framework includes Java and Scala APIs to simplify development of microservices. Lagom helps us 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

Let’s Consume a Micro-service

Reading Time: 2 minutes Micro-services architecture is being widely adopted and guess what, Lagom is the most efficient way to achieve it.  While creating micro-services, we usually need to interact with other micro-services and consume their data. So the idea behind this blog is to guide you through the steps needed to integrate an unmanaged service. Apparently, Integrating an external API in Lagom is challenging at first but it Continue Reading

Lagom Circuit Breaker: What, Why and How?

Reading Time: 5 minutes When our service depends on a third party service’s end point for response, it is possible that due to various reasons, that may vary from bad connection to an internal server error from the third party, our own service fails. A circuit breaker is employed to prevent cascading failures in our services if such scenarios were to occur. And if you are here, you are Continue Reading

Lagom: Getting to Know

Reading Time: 2 minutes JUST THE RIGHT AMOUNT Lagom- [lah-gome], a swedish word meaning ‘Sufficient’ or ‘Just the right amount’. The meaning of the name ‘Microservice’ is misunderstood by a majority of people. Taking it litrelly Micro = very small i.e. very small service is not the underlying meaning or agenda of creating Microservices. The real theme here does not revolves around the ‘size’ criteria. What really matters here is the Continue Reading

Wait! Don’t write your microservice … yet

Reading Time: 3 minutes Day one, we were super excited to start a new project for a huge financial institution. They seemed to know the domain and as Knoldus we understood the technology. The stakeholders were excited about the Reactive Paradigm and the client architects were all stoked up the way there would be microservices which would allow them all the benefits that other companies had been harping about. Continue Reading

Message Broker in Lagom using Kafka

Reading Time: 2 minutes What is Lagom? Lagom framework helps in simplifying the development of microservices by providing an integrated development environment. This benefits one by allowing them to focus on solving business problems instead of wiring services together. Lagom exposes two APIs, Java and Scala, and provides a framework and development environment as a set of libraries and build tool plugins. The supported build tools with Lagom are Maven Continue Reading

Integrating Play app with Lagom application

Reading Time: 2 minutes What is Lagom? Simply put, it is a microservices tool. Lagom is a microservices framework that guides developers in moving from monolithic to a scalable, resilient microservice based systems. It is a platform delivering you not only the microservice framework but also a whole tool set for developing applications along with creating, managing and monitoring your services. According to Lightbend the focus should not be Continue Reading

Lightbend Monitoring: Lagom

Reading Time: 3 minutes Lightbend Monitoring provides insight into applications built with Lightbend technologies. It does so by instrumentation of frameworks like Akka and Lagom. The instrumentation is done by a Java agent (called Cinnamon) that runs when your application is starting up. It collects information in runtime based on the configurations that you have provided. In this post, we would show the Circuit Breaker (CB) monitoring with Lagom. 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

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!