Category Archives: Akka

One-way & two-way streaming in a Lagom application


Now a days streaming word is a buzz word and you should have heard many types of streaming till now i.e. kafka streaming, spark streaming etc etc. But in this blog we will see a new type of streaming i.e … Continue reading

Posted in Akka, Best Practices, big data, Functional Programming, github, Java, knoldus, Messages, Reactive, Scala, Streaming, Web Services | Leave a comment

Protobuf Serialization in Akka


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 … Continue reading

Posted in Akka, Scala | Tagged , , , | 1 Comment

A Java Lagom service which only consumes from Kafka topic (Subscriber only service)


Subscriber only service means an application which only consumes, does not produce. We have generally seen the applications which both produces and consumes data from a Kafka topic but sometimes we need to write an application which only consumes data … Continue reading

Posted in Akka, Apache Kafka, Architecture, Best Practices, big data, Functional Programming, github, Java, MessagesAPI, Microservices, Scala | Leave a comment

Akka HTTP Routing


In this blog, I try to describe some basic routes of Akka-HTTP, redirection of the route and how to handle extra parameters that come in route. so before writing the routes, you have to set the environment for it. implicit … Continue reading

Posted in Akka, akka-http, Scala | 1 Comment

Getting Started Cockroach with Scala: An Introduction


Today we are going to discuss that how can we use the Scala with the Cockroach DB? As we all know that Cockroach DB is a distributed SQL database built on top of a transactional and consistent key-value store and … Continue reading

Posted in Akka, akka-http, database, Scala, Slick | Tagged | 1 Comment

Akka Split Brain Resolver – Problem and its Solution


AKKA Split Brain Resolver When operating an Akka cluster the developer will surely comes around network partitions (Split Brain scenarios) and machine crashes. There are multiple strategies present by lightbend to handle such erratic behavior and, after a deeper explanation … Continue reading

Posted in Akka, Scala | Tagged , , , , | 6 Comments

Cinnamon: Way For Monitoring & Metrics Generation for Akka ActorSystem


We are developing huge applications and deployed on multiple virtual machines and clusters. For monitoring applications, we need to enable logs into our application and analysis that logs with help of some tools like elastic stack. But !! what if … Continue reading

Posted in #telemetry, Akka, Metrics, Monitor, Scala | Tagged , , , , , , , , , , , , , | Leave a comment

Monitoring Akka based applications with Cinnamon and DataDog


Application monitoring is an important part of software development life cycle and aims to check if the application is performing as expected or not. With applications becoming Reactive, having distributed architecture and industry moving towards Fastdata, there is a great … Continue reading

Posted in Akka, sbt, Scala | Tagged , , , , , | 2 Comments

Understanding Lightbend Telemetry


Let’s begin by understanding each of its meaning. Lightbend(formerly known as ‘Typesafe’) provides an open-source platform for building Reactive applications for the JVM, consisting of the Play Framework, Akka middleware and Scala programming language. And, Telemetry = tele(remote) + metron(measure) … Continue reading

Posted in Akka, IOT, Scala | Leave a comment

Routing DSL in Akka HTTP


In this blog we’ll be discussing about the Routing DSl provided by Akka HTTP High level Server Side API. Akka HTTP provides a very flexible “Routing DSL” for elegantly defining RESTful web services. It picks up where the low-level API leaves … Continue reading

Posted in Akka, akka-http, Scala, Web Services | Tagged , , , , , , , , , , , , , , | 1 Comment