ProtoBuf: New way of Serialization

Reading Time: 5 minutes In this blog, we will learn how to use ProtoBuf with java and its comparison with JSON. Overview Protobuf is short for protocol buffers, which are language- and platform-neutral mechanisms for serializing structured data for use in communications protocols, data storage, and more. Think XML, but smaller, faster, and simpler The method involves an interface description language that describes the structure of some data and a program Continue Reading

Building API with gRPC – Part 1

Reading Time: 3 minutes Hey everyone, have you ever faced the problem to create the application/API using gRPC with Scala. If yes then here is the solution to your problem. Here I explained what is gRPC and how to create a simple application or micro-service through it by defining the protobuf and Scala. In this first part, we will know what is gRPC, its cons, and prons. We also Continue Reading

Protobuf Serialization in Akka

Reading Time: 4 minutes Before Protobuf, lets have a look at what role does serialization play in Akka. The messages that Akka actors send to each other are JVM objects (e.g. instances of Scala case classes). Message passing between actors that live on the same JVM is straightforward. It is simply done via reference passing. However, messages that have to escape the JVM to reach an actor running on Continue Reading