Architecture

Introduction to Domain Driven Design (DDD)

Reading Time: 3 minutes What is Domain? To define domain-driven-design we should first establish what we mean by domain. The common dictionary definition of the domain is a sphere of knowledge, influence, or activity. In the context of software engineering, it refers to the subject area on which the application is intended to apply. For example, if you are building an E-commerce software, in this case, sales will be 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

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

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

What Is Liskov Substitution Principle (LSP)? With Real World Examples!

Reading Time: 4 minutes In this article, we are going to discuss what is Liskov Substitution Principle (LSP) with real world examples. So your Object-Oriented Programming skills are at par and now you want to apply your knowledge to live projects. After all, understanding the 4 basic pillars of Object-Oriented Programming and knowing a few cool things like constructor chaining and static methods should be enough to pull off Continue Reading

Hexagonal Architecture

Reading Time: 2 minutes As the 12 factor app states, that each component of an application should work independent of each other. This is required in order to make the update process simpler. This is where many developers use architectural pattern, commonly known as hexagonal architecture. The main aim of this architecture is to divide the application into loosely couple components. These components can then be connected using ports Continue Reading

Event Sourcing – Does it make sense for your business?

Reading Time: 5 minutes You would always get a ton of literature on Event Sourcing and CQRS. The key question is WHEN do you use it? Under what circumstances? Is your problem really in need of ES? I would not go into the details of what Event Sourcing and CQRS is. The industry stalwarts have covered that in adequate detail. This post delves into battle-tested scenarios on where we Continue Reading

Rebalancing in Akka Cluster Sharding

Reading Time: 4 minutes In this blog we will be discussing about one of the important feature of Akka Cluster Sharding which is Rebalancing. Before moving forward make sure you have some basic knowledge on Akka Cluster Sharding, if not then please read Introduction to Akka Cluster Sharding and Implementing Akka Cluster Sharding. Before directly diving into this amazing feature which akka sharding provides, lets first understand the need Continue Reading

MYSQL REPLICATION

Reading Time: 4 minutes MySQL replication is the continuous copying of data changes from one database (primary) to another database (replica). The two databases are generally located on different physical servers. The replica database can act as a read replica or a standby replica to provide failover capability. Generally, there are two ways of replication: Asynchronous Replication Synchronous Replication Synchronous vs. asynchronous replication The primary difference between synchronous replication Continue Reading

The 12 Factor App

Reading Time: 4 minutes This blog will explain the principles of the 12 factor app. These principle basically eliminate the unnecessary ache required while building your application. It makes the development process smooth, thus resulting in a robust and reliable application. 1. Codebase: A twelve-factor app states that a single app should not have multiple codebases, otherwise it is a distributed system instead of an app. Also, multiple apps Continue Reading

Learning about Reactive Messaging Patterns

Reading Time: 4 minutes Overview According to the Reactive Manifesto, a critical element in any Reactive system is that it is message-driven. But what does it mean to be message-driven? Message-driven systems are those that communicate primarily through asynchronous and non-blocking messages. Messages enable us to build systems that are both resilient, and elastic, and therefore responsive under a variety of situations. Message Driven Architecture We have various ways Continue Reading

Building Scalable Systems

Reading Time: 7 minutes Building a Reactive System is all about the balance between consistency and availability and the consequences of picking one over the other. This article mainly focuses on consistency and availability and how they impact the scalability of a system. What is Scalability, Consistency and Availability? A system is scalable if it can meet the increase in demand while remaining responsive.It is consistent if all the Continue Reading

Building an Ionic Application using Cordova for Android

Reading Time: 2 minutes Ionic Framework is an open-source UI toolkit for building performant, high-quality mobile, and desktop apps using web technologies (HTML, CSS, and JavaScript). Ionic Framework is focused on the frontend user experience, or UI interaction of an app (controls, interactions, gestures, animations). It’s easy to learn and integrates nicely with other libraries or frameworks, such as Angular, or can be used standalone without a frontend framework Continue Reading