Scala

Blockchain Technology Adoption Amidst COVID-19

Reading Time: 10 minutes The COVID-19 Pandemic has fractured the global financial system exposing age-old cracks within our supply chain systems. Its lethal shut-down rate of world economies has forced financial analysts against the wall to rethink the connecting nodes of business value chains. A front-runner in this race to remedy the situation is Blockchain Technology. Its hallmark characteristics of provenance, immutability, security and data storage are everything our supply Continue Reading

Case classes and Anonymous Function in Scala

Reading Time: 3 minutes In this blog, we’ll be looking at one of the important concepts of Scala that is Case class, also we will see how to define a Scala case class and along with this, we’ll discuss what are the important features of case classes, the importance of case classes. We will learn how to define a minimal case class and why do we need case classes Continue Reading

Starting with Gatling using Maven

Reading Time: 4 minutes Gatling is an open source load testing application, which uses Scala scripting language. Unlike Apache JMeter, Gatling doesn’t have a GUI interface. So, when you want to simulate a given scenario, you do it by writing a Scala script. Here we will learn how to write Gatling script using Maven and also, understand the basic architecture of the script by using test scenario. Prerequisites: Maven should be Continue Reading

Complete CI/CD Pipeline For MicroService Using Akka Http And BitBucket

Reading Time: 4 minutes In this blog, we will see how to set up a Bit-Bucket Pipeline to get CI/CD for your Akka HTTP Application. We will be deploying the application on the HEROKU server, but in this blog, we will also see how to dockerize the application and push the image on Docker Hub which further can be used to deploy on any container orchestration platform. Let’s get Continue Reading

CI/CD Overview and Jenkins Introduction

Reading Time: 3 minutes What is CI/CD The name CI/CD stands for continuous integration (CI) and continuous deployment (CD). At a high level, this process is responsible for managing the automation of building projects, testing them, and then deploying them to different servers either for testing purposes or production. The CI/CD pipeline typically falls under the responsibility of DevOps. Let us now concretize this idea by providing an example. Continue Reading

Introductory Scala Concepts (Pattern Matching, Option, and Try/Success/Failure)

Reading Time: 4 minutes Pattern Matching: Scala Pattern matching is one of the features of functional programming that make it such an awesome paradigm. This tool is somewhat similar to switch statements you might be familiar with from other languages such as Java or Python, however Scala pattern matching is a much more powerful tool. In short, pattern matching allows one to check a value against a pattern as Continue Reading

Testing in Scala (Frameworks, Code Coverage, Mocking, Matchers, and ScalaTest)

Reading Time: 5 minutes We will be covering the below concepts in this blog: Why we need testing Test Libraries How to set up ScalaTest Different frameworks in ScalaTest and how to use them Mocking  Matchers Plugins for Code Coverage Why we need testing: Firstly, as a good software developers it is important to use testing that is good and has good coverage. Testing is an essential part of Continue Reading

Reactive Architecture: Introduction to Reactive Systems

Reading Time: 2 minutes In this post, we are going to talk about reactive system what exactly we mean by reactive systems and how the software industry or application have evolved over a period of time. So today we want a highly reactive system. This post is about understanding the term Reactive System. What exactly we mean by such a system. What is a Reactive System? A system that Continue Reading

Introduction to functions in scala

Reading Time: 4 minutes A function is a group of statements that perform a certain task. Instead of writing the same code again and again for different inputs, we can simply make a function and call whenever required. Each function must perform a specific task. Difference between Functions & Methods A scala method is a part of a class that has a name, signature, bytecode, etc. whereas a function Continue Reading

Build your first API with Scala and Akka HTTP

Reading Time: 3 minutes Akka is a free and open-source toolkit and runtime simplifying the construction of concurrent and distributed applications on the JVM. It is built by Lightbend. Akka supports multiple programming models for concurrency, but it prefers actor-based concurrency. One can integrate this library into any JVM support language. It implements Actor Based Model. The Actor Model provides a higher level of abstraction for writing concurrent and Continue Reading

Performance v/s Scalability in Reactive Microservices

Reading Time: 2 minutes Performance and Scalability are the two main factors that come into account when creating a Distributed System. When people talk about these two terminologies they very often use these two words synonymously. However, they mean different things. As there’s a lot of misunderstanding so in this blog we’ll discuss Performance and Scalability, their differences and relation if any. Performance – Performance is all about optimizing Continue Reading

Understanding Service Discovery in Kubernetes

Reading Time: 3 minutes In this blog we will try to understand what is service discovery in K8s and it is achieved. Namespaces are one of the most important parts of the whole DevOps ecosystem including Kubernetes. They play a very important role behind various container implementations in the way that they provide an isolation for independent processes from global system’s interference directly. Namespace Definition : A namespace wraps Continue Reading

What is Lagom framework | Basic Structure in Scala | Demo project in Scala

Reading Time: 4 minutes What is Lagom framework Lagom is a free and open-source framework for developing reactive microservice-based Java or Scala applications. Lagom builds on proven technologies such as Akka and Play, which are already in use in wide applications. Rather than assembling services, this integrated production environment enables you to focus on business issues. A single command creates the project, enables microservices and Lagom infrastructure, and then Continue Reading