Reactive Programming

Rx Java Basics

Reading Time: 3 minutes Overview RxJava is a JVM implementation of Reactive Extensions and a reactive programming implementation based on event driven and asynchronous programs. It works on the principles of observables and observer patterns. RxJava is lightweight and implemented as a single JAR on the observable abstraction and related higher-order functions. (For those who are new to Reactive Programming and have less familiarity with it. Reactive programming is Continue Reading

CAP Theorem | Building Scalable Systems | Reactive Architecture

Reading Time: 3 minutes CAP Theorem, a Distributed System must account for this theorem which means when two or more systems try to connect with each other they need to account this Theorem. In this blog, we are gonna discuss about this theorem and how we have to sacrifice any factor while communicating with another system. Apart from this we’ll also discuss some other related terminologies and theorems. CAP 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

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

Cloudstate (Part 6): Reversing the Tradition

Reading Time: 2 minutes In our previous blog post, Cloudstate (Part 5): How to work with it?, we learned how to work with Cloudstate. But in this blog, we are going to learn that Cloudstate has reversed the traditional architecture of multi-layered application. What is the Tradition? In a traditional multi-layered application, each layer (of the application) will invoke another layer to retrieve and manipulate its state. This approach Continue Reading

Cloudstate (Part 5): How to work with it?

Reading Time: 2 minutes In our previous blog post, Cloudstate (Part 4): A Bird’s Eye view of its Design, we had a look at bird’s eye view of Cloudstate‘s design. To continue the streak, we are going to learn, how to work with Cloudstate in this blog. Choose Your Language Wisely To work with Cloudstate the first step we need to take is, decide the programming language of our Continue Reading

Cloudstate (Part 4): A Bird’s Eye view of its Design

Reading Time: 2 minutes In our previous blog posts, we came to know about, What is Cloudstate? Why we need it? and Why we need to give a second thought to the way CRUD operations are done in Serverless Computing? In this blog post, we will have a look at bird’s eye view of Cloudstate‘s design. Let’s take a look at its design. Bird’s Eye View of Design Cloudstate Continue Reading

Introduction to Akka Http

Reading Time: 2 minutes Akka Http The Akka HTTP modules implement a full server- and client-side HTTP stack on top of akka-actor and akka-stream. You can read more in-depth about akka-http from here. Here, we are going to use Intellij for the project setup and Scala as a programming language. The steps are as follows:- 1. Importing library dependencies 2. Creating User case class We are going to create Continue Reading

Cloudstate (Part 3): Giving a Second-Thought to CRUD

Reading Time: 4 minutes In this blog post, we will take a slight detour from Cloudstate and understand why we need to give a second thought to the way CRUD operations are done in Serverless Computing. Before diving deep into the need of reconsidering CRUD operations strategy in Serverless Computing, let’s first understand CRUD. What is CRUD? CRUD is an acronym for the four general operations that a database Continue Reading

Usage of Axios in React Applications

Reading Time: 6 minutes In this blog, we will see how to work with Axios in a React application to make GET, POST, PUT, and DELETE requests to perform CRUD actions. Axios is a popular, promise-based HTTP client that sports an easy-to-use API and can be used in both the browser and Node.js. A very common task of a web client application is making HTTP requests to API and Continue Reading

React Lifecycle

React Component Lifecycle

Reading Time: 5 minutes A react component has certain lifecycle methods in which we can insert our own code and execute it at a particular moment during the lifecycle of the component. A react component can go through different sets of lifecycle methods depending upon in which phase the component is. These Phases are Mounting, Updating, and Unmounting. Mounting Following is the order of execution for the methods, when Continue Reading

Reconciliation in React

Reading Time: 3 minutes Reconciliation in react is a process in which it provides a declarative API that keeps you away from the worry of what is changing on every update. When a component’s state changes, React has to verify whether they want to update the DOM or not? In this process, it creates a Virtual DOM and comparing it with the current DOM. In this context, the Virtual DOM will contain the Continue Reading

React Events

Reading Time: 2 minutes In this blog, we will be going to get an overview of React Events, these events occur on various actions like user action or system-generated events. For eg: window resize, web page loading, keypress, mouse hover, mouse click, and many other interactive actions are known as events. React consists of its own events handling systems which are very similar in the way we use to Continue Reading