Author: Shubham

software engineer standing beside server racks

How To Use Zio DynamoDB wrapper

Reading Time: 2 minutes What is Zio ZIO is a library for Scala programming language that provides a pure, composable, and type-safe approach to error handling and asynchronous programming. ZIO provides a lot of tools for developers to write applications in a clean, concise, and functional manner. Zlayer is a module in ZIO that provides abstractions for building and composing modular applications. In this blog, we will be exploring Continue Reading

Entity Component Types in Kalix

Reading Time: 3 minutes First, Let’s get to know what Kalix is then we will see what an entity Is and what Its type is. Notes: All the codes in the blog are written in Scala. Kalix is a Platform-as-a-Service (PaaS) that combines an API-first, database-less programming model with a serverless runtime. Now what It means is that Kalix is a service that makes It easy for developers to Continue Reading

Akka || What is It?

Reading Time: 2 minutes Akka is a toolkit and runtime for building highly concurrent, distributed, and fault-tolerant applications on the JVM. Akka is written in Scala, with language bindings provided for both Scala and Java. The Akka toolkit includes different modules to implement these features. Let’s explore the module Akka Actor to understand how It achieves concurrency. How to Set Up Akka Actor in Scala libraryDependencies += “com.typesafe.akka” % “akka-actor-typed_2.12” % Continue Reading

Scala | Multithreading

Reading Time: 2 minutes What is Multithreading Multithreading means we can execute multiple threads at once. We can also perform multiple operations independently and achieve multitasking. This helps us to develop concurrent applications. In Scala, a thread is a lightweight sub-process that occupies less memory. Let’s see how Scala creates threads and achieves multithreading. What Scala Thread Life Cycle Looks Like In between the period of creation and Termination of Continue Reading

Scala | Functions

Reading Time: 5 minutes A function is a collection of expressions that perform a certain task. We can divide a code in scala into separate functions, where each function must perform a specific task. We use functions to put some common and repetitive tasks into a single function, so instead of writing the same code again and again for different inputs, we can simply call the function. A function Continue Reading