Author: Prateek Gupta

How to migrate Scala 2.13 project to Scala 3?

Reading Time: 9 minutes Are you a Scala developer looking to migrate your existing Scala 2.13 projects to the latest version of the language? If so, you’ll be happy to know that Scala 3 is now available and comes with a range of new features and improvements. With its streamlined syntax, improved performance, and better compatibility with Java 8 and above, Scala 3 offers a host of benefits for Continue Reading

man working on laptop while woman takes notes

A Simple Introduction to Amazon DynamoDB

Reading Time: 4 minutes If you are looking for some easy resources to get started with the concepts of Amazon DynamoDB, then you are at the right place. In this blog, we’ll discuss about Amazon DynamoDB, its key concepts, terminology, benefits, use cases and also compare it with the Relational Databases. Introduction Amazon DynamoDB is a fully managed NoSQL database that supports key-value and document data models. With DynamoDB, Continue Reading

Data Streaming with AWS Kinesis

Reading Time: 4 minutes Data is an essential asset for modern businesses as it helps them to monitor all aspects of the business. Every second we are processing, analysing and transforming a large amount of data. So the need for handling the dynamically generating data is important. As the number, variety, and velocity of data sources grow, new architectures and technologies are needed. This is where the need for data streaming Continue Reading

How to Test Effects in ZIO | An Introduction to ZIO Test

Reading Time: 4 minutes In this blog, we’ll understand how to test ZIO effects using the ZIO Test library. Also, we’ll learn about some of the common assertions and a nice feature of ZIO Test which is test aspects. What is ZIO Test? ZIO Test is a testing library that makes it easy to test effectual programs. It treats effects as first class values and leverages the full power Continue Reading

zio

ZIO: The Most Important Data Type Of ZIO Library

Reading Time: 3 minutes Overview In this blog, we’ll understand about the most important data type of ZIO library i.e. ZIO and the type aliases available for it which are very useful when it comes to representing some common use cases. What is ZIO library used for? ZIO is a zero dependency Scala library that provides many features for developing concurrent, parallel, asynchronous and resources safe applications in a Continue Reading

How to Schedule Messages or Tasks in Akka?

Reading Time: 2 minutes In this blog, we’ll see how to schedule sending of messages to actors or execution of tasks(functions or Runnable) at a specific point of time in future or maybe repeatedly over a certain interval. For this purpose, the Akka ActorSystem provides Akka Scheduler to manage the periodic execution of tasks. Akka Scheduler In simple words, the Akka Scheduler helps us to schedule sending of messages Continue Reading

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