Author: Muskan Gupta

Understanding Monads: An Introduction

Reading Time: 3 minutes In Scala, we all have heard about List, Option, Future etc. I also heard that they are Monads. It was a new term to me so I googled it and the definitions I initially read were too confusing. Here is one of them : What is Monoid? What are Endofunctors? Looking into all these is so complex. So here, I’ll try to cover Monads in Continue Reading

Combating Fallacy in Scala

Combating Fallacy in Scala: Part 3

Reading Time: 3 minutes Hey everyone, I’m back with another blog, “Combating Fallacy in Scala: Part 3“. So, in this blog, we will have a look into Classes in Scala and the Constructor Parameters. Class and Constructor Parameters Before moving to the problem in this blog, let’s have a look at classes in Scala. According to the Scala Docs “Classes in Scala are blueprints for creating objects. They can Continue Reading

Circuit Breaker in Akka

Reading Time: 3 minutes Hey everyone, in today’s blog I will be covering the concept of Circuit Breaker in Akka. Before moving forward to it just think of a situation when you are requesting on a website and it is taking too much time. You try to refresh the page and still the same. Would you like to use that website again? I think the answer will be no. Continue Reading

Combating Fallacy in Scala

Combating Fallacy in Scala: Part 2

Reading Time: 3 minutes Welcome back to this amazing series of Combating Fallacy in Scala: Part 2. For this part, the topic will be “Tuple Unpacking”. So, let’s move forward. Tuple Unpacking Before looking into this, let’s have a look at Tuple in Scala. According to the Scala Docs “A tuple is a neat class that gives you a simple way to store heterogeneous (different) items in the same container.“ A tuple provides Continue Reading

Combating Fallacy in Scala

Combating Fallacy in Scala: Part 1

Reading Time: 3 minutes Hi everyone, I am going to start a blog series related to Scala. This is going to be a bit different as it focuses on things such as some mistakes that we usually do, unknowingly or some concepts that we might not know. So this series is all about exploring Scala and Combating Fallacy in Scala. if you want to be a part then stay Continue Reading

Cheat Sheet – Git

Reading Time: 5 minutes Hello everyone, in this blog I’m going to discuss different git commands. I hope this Cheat Sheet – Git will be helpful to you and will clear some doubts if you have regarding any command. So, let’s begin! Installing Git To start, first, we need to install git. Following are the simple commands to do that: Configure After installing git you have to configure user Continue Reading

Map in SCala

Map in scala

Reading Time: 3 minutes Hi everyone, today I’ll be discussing different types of Map is Scala. I will try to differentiate between the different types of maps to make it easy to understand. So, let’s begin !! What is a Map in Scala? A map is a collection in Scala. It is a collection of key/value pairs. The key and value pairs are also known as mappings and associations. Continue Reading

Let’s talk about Implicit

Reading Time: 6 minutes I hope from the above picture you can get an idea of “how an implicit can be useful”. This is just a single use case and if you are more interested in knowing about Implicit then this blog is for you. In this blog, I am going to discuss Implicit in Scala. I hope this will be useful to you. So, let’s talk about implicit Continue Reading

Stateful Streaming in Spark

Reading Time: 4 minutes Apache Spark is a fast and general-purpose cluster computing system. In Spark, we can do the batch processing and stream processing as well. It does near real-time processing. It means that it processes the data in micro-batches. I have discussed more Spark Streaming in my previous blog. Now in this blog, I’ll discuss Stateful Streaming in Spark. So let’s start !! What is Stateful Streaming? Continue Reading

Spark Streaming: Adding Spark to Streaming

Reading Time: 4 minutes In today’s world we have a lot of data. And this data will only grow more and more in future. According to a study, in 2020, the data produced is abound 44 zettabytes each day. And by 2025, approximately 463 exabytes would be created every 24 hours worldwide. Do you ever imagine how one can store or process this much data ?A solution to this Continue Reading

Alpakka : Creating Data Pipelines

Reading Time: 4 minutes In my previous blogs I discussed about akka-streams , materialization and graphs in akka-stream . It was so easy to create sources, sinks and flows and connect them using methods and create runnable graphs. Now consider a situation where I’m getting data from Kafka and want to push it in Cassandra or Elasticsearch ? How to create such source or flow or sink that can 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

Akka-Streams: All About Graphs!

Reading Time: 4 minutes In my previous blogs, I discussed about the basics of akka-streams and materialization. Now let’s dig deeper into Graphs in Akka-Streams. Graphs Till now we know how to create a linear pipeline/linear graph. But in real life scenario we generally don’t have linear graphs to implement. The graphs can be complex. In Akka Streams computation graphs are written in a more graph-resembling DSL. It aims Continue Reading