Author: Prateek Gupta

How to use MDC Logging in Scala?

Reading Time: 4 minutes In this blog, we’ll discuss Mapped Diagnostic Context, in short MDC. Also, we’ll see how we can use it across a single thread or multiple threads(or Futures) using some examples. What is MDC Logging? Multi-user applications need log messages to retain context. The Mapped Diagnostic Context(MDC) allows us to put context to all the log statements for a single thread. We can also propagate MDC across multiple Continue Reading

Understanding Akka Streams and Its Components

Reading Time: 4 minutes Overview In this blog, we’ll be understand about akka streams and its components. Also, we’ll do a simple exercise that involves each of these components. Introduction Stream A stream is a flow of data that involves moving and transforming data. An element is the processing unit of the stream. Akka Streams In software development, there can be cases where we need to handle the potentially Continue Reading

A Simple Introduction to Higher Order Functions in Scala

Reading Time: 4 minutes Overview In this blog, we’ll understand the concept of higher order function in Scala. Also, we’ll learn about some of the most commonly used higher order functions in Scala. Higher Order Function A function is said to be a Higher Order Function if it can take another function as an argument or returns a function as its result. This is possible because of the fact Continue Reading

How to Run Multi-Container Applications with Docker Compose

Reading Time: 4 minutes If you have a need to define a service that requires more than one docker container to function, Docker Compose is the right tool for you. In this blog, you’ll see how easily you can run a multi-container docker application using Docker Compose. Docker Compose – Introduction Docker Compose is basically a docker tool to define and run multi-container Docker applications. Each of these containers Continue Reading

LocalStack – An Open-Source Mock Of The Real AWS Services

Reading Time: 5 minutes Have you ever thought of using AWS services offline i.e. without connecting to the internet? If your answer is No, don’t worry you are at the right place. Once you read this blog you will know how easily you can do this using LocalStack. When we try experimenting with our cloud provider, it is necessary for us to have an account and most of the Continue Reading

Let’s Dive into the World of SBT (Simple Build Tool)

Reading Time: 4 minutes In this blog, we are going to discuss about SBT which is basically an open source built tool for Scala and Java projects. Also, we will discuss about its directory structure, installation and setup, how to run it, frequently used sbt commands, how to add library dependencies in your project & finally the conclusion. Now before diving into sbt, first we need to understand what Continue Reading