Author: Himanshu Gupta

woman holding macbook

How Scala met Dotty?

Reading Time: 2 minutes It all began in 2012 when the first commit for Scala 3 was made and it was decided to base Scala 3 on DOT. What is DOT? Before we go further into the story, let’s get to know about DOT. DOT, an abbreviation for Dependent Object Types, is a new type-theoretic calculus which models path-dependent types, abstract type members, and it creates a mixture of Continue Reading

Cloudstate (Part 6): Reversing the Tradition

Reading Time: 2 minutes In our previous blog post, Cloudstate (Part 5): How to work with it?, we learned how to work with Cloudstate. But in this blog, we are going to learn that Cloudstate has reversed the traditional architecture of multi-layered application. What is the Tradition? In a traditional multi-layered application, each layer (of the application) will invoke another layer to retrieve and manipulate its state. This approach Continue Reading

Cloudstate (Part 5): How to work with it?

Reading Time: 2 minutes In our previous blog post, Cloudstate (Part 4): A Bird’s Eye view of its Design, we had a look at bird’s eye view of Cloudstate‘s design. To continue the streak, we are going to learn, how to work with Cloudstate in this blog. Choose Your Language Wisely To work with Cloudstate the first step we need to take is, decide the programming language of our Continue Reading

Building Stateful Systems with Akka Cluster Sharding

Building Stateful Systems with Akka Cluster Sharding

Reading Time: 5 minutes This post was written in collaboration with Lightbend, a Knoldus’ Partner. Most microservices applications are stateless, which means they delegate persistence and consistency to a database or external storage. But sometimes there’s a benefit to keeping state inside the application.  If you’ve worked with data storage systems long enough, you are bound to bump into the term “sharding“. Sharding is another word for partitioning and Continue Reading

Cloudstate (Part 4): A Bird’s Eye view of its Design

Reading Time: 2 minutes In our previous blog posts, we came to know about, What is Cloudstate? Why we need it? and Why we need to give a second thought to the way CRUD operations are done in Serverless Computing? In this blog post, we will have a look at bird’s eye view of Cloudstate‘s design. Let’s take a look at its design. Bird’s Eye View of Design Cloudstate Continue Reading

Cloudstate (Part 3): Giving a Second-Thought to CRUD

Reading Time: 4 minutes In this blog post, we will take a slight detour from Cloudstate and understand why we need to give a second thought to the way CRUD operations are done in Serverless Computing. Before diving deep into the need of reconsidering CRUD operations strategy in Serverless Computing, let’s first understand CRUD. What is CRUD? CRUD is an acronym for the four general operations that a database Continue Reading

Cloudstate (Part 2): Why we need it?

Reading Time: 2 minutes In our previous blog post, Cloudstate (Part 1): What is it?, we came to know about the Serverless Computing, it’s advantages, and a brief introduction of Cloudstate. In this blog post we will deep dive further into Cloudstate by understanding, why we need it? For which we need to know the limitations of the Serverless Computing. Why? Because Cloudstate overcomes them and that’s why it Continue Reading

Cloudstate (Part 1): What is it?

Reading Time: 2 minutes Serverless Computing, I hope you have heard or read this term in many tech talks and articles. And that’s because it is trending these days. But what is it? That is the first question that pops up in our mind as soon as we hear or read the term Serverless Computing. In this blog post, we will not only learn about serverless computing, but also Continue Reading

integrating Cucumber with Akka-Http

Akka Cluster in use (Part 9): Effectively Resolving Split Brain Problem

Reading Time: 7 minutes We can deal with cluster failures manually, as mentioned in our blog post Manually Healing an Akka Cluster. However, it requires a DevOps engineer to be available 24 x 7. This process is very expensive and can be very frustrating (sometimes). Hence, we really need a way via which we can resolve cluster failures in an automated fashion. This is where a Split Brain Resolver Continue Reading

integrating Cucumber with Akka-Http

Akka Cluster in use (Part 8): What is a Split Brain?

Reading Time: 5 minutes In our previous blog post, Manually Healing an Akka Cluster, we have already seen that if we do not handle the failures in an Akka Cluster carefully, then it can lead to disastrous situations like Split Brain. Hence, in this blog post we will learn more about the consequences of the Split Brain problem. What is Split Brain? Split Brain is a destructive condition of Continue Reading

akka

Akka Cluster in use (Part 7): Manually Healing an Akka Cluster

Reading Time: 4 minutes In our previous blog post, Understanding Failures in Akka Cluster, we came to know how an Akka Cluster reacts in case of a failure and what are the reasons behind the failures. Now, whenever a failure will occur in an Akka Cluster, we would need a way to heal the cluster, so that we can restore it back to its normal working condition. Hence, in Continue Reading

Akka Cluster in use (Part 6): Understanding Failures in Akka Cluster

Reading Time: 4 minutes Ideally we would never want our Akka Cluster(s) to fail. Instead we would like to keep them running in a perfect condition. But in real world failures are unavoidable and can be of many types. Like network failures, application failures, and many more. So let’s understand how an Akka Cluster reacts in case of a failure and what are the reasons behind the failures. Changes Continue Reading

Akka Cluster in use (Part 5): Let’s stay in touch via Gossip

Reading Time: 3 minutes In our previous blog post, Managing an Akka Cluster, we learnt how to manage an Akka Cluster via Akka Management. In this blog post, we are going to learn, how the Node(s) within an Akka Cluster communicate with each other via Gossip Let’s Gossip A very popular way to transmit a message is via Gossip 😛 . As it doesn’t need much effort and also Continue Reading