Microservices

Running jmx2graphite as a java agent to push the JMX metrics into Graphite

In my previous blog, we discussed how to monitor a Kafka stream application using Grafana and Graphite. In this solution, we used jmx2graphite as a metrics exporter which takes the metrics from the Jolokia URL where Jolokia exposes the JMX metrics and pushes those metrics to Graphite. But, there is a problem with this solution that we need to deploy one jmx2graphite per service. So Continue Reading

What is JWT (JSON Web Token)?

In this blog, we will learn about  JWT, its basic structure, advantages and how can we generate and validate JWT in java. So, Authentication is the process of verifying the identity of a user, and JWT is a safe way for transferring information between multiple parties in the JSON format. So for example, If you want to login to any application say XYZ that allows Continue Reading

Monitor a Kafka stream application with Graphite-Grafana using JMX metrics

A few days back, we got the requirement that we need to monitor a Kafka stream application using JMX metrics. We looked for the solution and reached to the conclusion which we will discuss in this blog. I will try to explain each and every component of the solution along with the setup and the integration part of the whole system. Proposed solution: Service (application) exposes Continue Reading

Microservices and the Saga Pattern

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.

Use Case for Message-driven Reactive Systems

The Case for Message-driven Reactive Systems.

CAP Theorem for the distributed systems

A few days back I completed the certification for the 1st course of the Lightbend Reactive Architecture Advanced i.e. Building Scalable Systems. I found this course very helpful and informative to get the idea of Reactive architecture. So if you have not started yet, please go there and lets become reactive. There are few foundational courses as well to build the foundation of reactive architecture. Continue Reading

Distributed Transactions and Saga Patterns

In a Knolx session organized by Knoldus, we discussed the idea of following Saga Patterns. For that to be more accessible, I’d like to share the session with the help of this blog. Service-oriented architecture has given us enough advantages to be a predominant architecture in our Industry, but it can’t be all sunshine and rainbows. There are use cases where monoliths are not only Continue Reading

Lagom 1.4: Response compression | GZip Encoding

In the previous blog, we discussed response compression using GZip filter for Lagom 1.3. Here, we will go over the steps we use to add similar response compression in Lagom 1.4. The steps remain the same with minor changes due to underlying changes that came as Lagom upgraded from Play 2.5 to Play 2.6. Step 1: The code The first step is to write the Continue Reading

Custom ErrorHandlers and Lagom

Hello everyone, it’s been quite a while now since I started working on Lagom(java) and it was only recently when I came across a scenario wherein I was required to override the ErrorHandler provided by Play in my Lagom microservice. As you all already know that Lagom is built on top of Play and Akka, so there will be times when we’ll be required to Continue Reading

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 Consul (Part-1)

In this blog, we are going to discuss an amazing tool used for service discovery and configuring services using Consul. Hold on a second!! There must be some questions in your mind: Aren’t there so many tools already doing that and are being used by everyone? Wow !! I have been using tools like Zookeeper for service discovery, And they are pretty good. Now, do 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

Fault Handling in Apigee

Hi all, In my previous blogs on APIGEE we: Went through the basic introduction of Apigee. Went through the main policies and how to apply them on our proxies. Saw how to extract out a header, extract a list of values out of a header. If you like you can go through those once again here: Basics of Apigee. click here Playing with Policies. click here Extract the Continue Reading

Knoldus Pune Careers - Hiring Freshers

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