Microservices

Deploy a Microservice into Istio service mesh

Reading Time: 3 minutes Service mesh is a dedicated infrastructure layer for handling service to service communication.
Basically, it’s a way to control how different micro services deployed on kubernetes will manage secure communication and traffic between them with lot’s of cross-cutting concerns like logging, security, etc.

Building API with gRPC using ProtoBuf – Part 3

Reading Time: 3 minutes In the previous blog, we discussed the Protocol buffers. How do they work? How to define the protobuf and compile it? Whats happens when we compile our protobuf file? How Protocol buffers were designed to solve many problems? Also how to generate Java or Scala code? In order to continue our series, we will try to create a small basic application with simple client requests Continue Reading

Diving Into Reactive Microservices

Reading Time: 4 minutes It would be beneficial if you understand the concepts of Reactive Architecture before diving into Reactive Microservices. You can read about Reactive Architecture here: Leaning Towards Reactive Architecture In this article we will cover transition from Monoliths to Service Oriented Architecture to Reactive Microservices by applying isolation techniques to the application. What are Monoliths? To start explaining the microservices it’s useful to compare it to Continue Reading

Service discovery and registry using spring and eureka

Service Registry and Discovery with Eureka

Reading Time: 8 minutes Hi all. In this blog we will see how we can leverage spring boot and Eureka server to do a Service Registry and Discovery. In the world of microservices scalability and elasticity is mandatory. That means, we can scale our services both up and down to meet the variant load requirements. Typically, this includes creating and destroying the instances of our services. Microservices communicate with Continue Reading

Lagom: Lets Stream Kafka Messages And Process using Akka Actor

Reading Time: 5 minutes Lagom is an opensource framework for building reactive applications using Java or Scala and it is built on Akka and Play, which are well-known technologies performing in production in some of the most performance-centric and scalable application systems. The Lagom has been continuously proving itself as a user-friendly and convenient framework to design and develop scalable microservices. However, the microservices can either based on orchestration, Continue Reading

Akka-gRPC

Reading Time: 3 minutes Akka gRPC provides support for building streaming gRPC servers and clients on top of Akka Streams and Akka Http. Features of Akka-gRPC A generator, that starts from a protobuf service definitions, for: Model classes The service API as a Scala trait using Akka Stream Sources On the server side code to create an Akka HTTP route based on your implementation of the service On the client side, a client for the Continue Reading

Serialization in Lagom

Reading Time: 2 minutes In my previous blogs on Lagom, we discussed Persistent Entity and Read-side and Write side in Lagom. In this blog, I’m going to discuss how serialization is handled in Lagom. But before that let’s understand what serialization is ? Serialization is a process of converting an object into the stream of bytes so that you can store or transmit it in memory, database etc. Its Continue Reading

Understanding Java enums

Understanding Java enums

Reading Time: 8 minutes Hello all, in this blog post we will study one of the strongest features of the Java language, enum’s. A good understanding of Java enum can make your program stand out of the crowd, and we will see how. We’ll establish a good understanding of the feature, learn how Java enum are different from other languages. Also, we will see the scenarios where we can Continue Reading

Lagom Read side and Write side

Reading Time: 3 minutes Lagom is a framework that is used for building reactive microservices. It provides support for building read side and write side views of the data so that querying a microservice becomes easier. In this blog, I’ll discuss about how having a read side view is beneficial and also important in microservices. Before reading this blog I’ll recommend you to have some knowledge about Event Sourcing Continue Reading

Demystifying gRPC: A brief history of Remote execution.

Reading Time: 6 minutes It has been a year since I’ve been exploring the gRPC framework. Most of the time, I’ve written web services in gRPC and glued them together with their implementations. Most of the time without having to explore it why and how it came into the light?  I find people relating the gRPC framework to the “Microservices” world. If you dig on the Internet, you can Continue Reading