microservices

Microservices: Pub/Sub with Dapr, docker-compose, and .NET

Microservices: Pub/Sub with Dapr, docker-compose, and .NET

Wolf Fact: Wolves and domestic dogs share about 99.8% of their DNA, making them closely related. Prerequisites: C#, basic of Web API, Visual Studio, Docker Desktop Publish and Subscribe Pattern:- It defines brokers, publishers, and subscribers, and how they should interact to create a loosely coupled scalable system. The publisher forwards the content/messages to the broker. And the subscribers get these messages from the broker. The Pub/Sub pattern can be implemented in a variety of ways. Ex.- The broker may push messages to subscribers or subscribers may have to read messages from the broker. Like this, every step’s process depends…
Read More
The Complete Roadmap to Effective API Testing

The Complete Roadmap to Effective API Testing

APIs are essential for interacting with and building large-scale technology. They have quickly become central to enabling collaboration, innovation, and communication in the digital space. The rise of Business Intelligence (BI) and Artificial Intelligence (AI) has further increased API importance, as these technologies heavily rely on APIs for data access and model deployment. This might be why recent data show that almost 90% of developers use APIs in some form during their processes. However, for APIs to work effectively, they need thorough testing. Rigorous API testing ensures that they perform as expected under various conditions and that your programs maintain…
Read More
What’s the real point of Microservices? – should I start with Monolith

What’s the real point of Microservices? – should I start with Monolith

In my view, most of the hype around microservices got the concept totally wrong. The point of microservices is that we want to organise code in such a way that we have small independent systems that each do well-defined job. The original microservices post said that microservices were "organised around business capabilities", which is a term of art from service oriented architecture, where we look for the things that a business does. You can identify business capabilities by building a flow chart showing how your organisation generates value, and the key activities that happen at each step. You draw circles…
Read More
Clean Architecture in Node.js: An Approach with TypeScript and Dependency Injection.

Clean Architecture in Node.js: An Approach with TypeScript and Dependency Injection.

A Clean Architecture What is clean architecture and why do we even care about it? The clean architecture approach is a software design pattern and a guideline proposed by Robert C. Martin (Uncle Bob). This architecture urges us to build a cleaner code and more structured code. So why do we care about it, why is it a good fit (at least, for me) to be used with a Node.js project, especially with TypeScript? While there is a catch like a more complex code and it may be overkill for some simple or some quick projects, we have some benefits…
Read More
From Monolithic to Microservices: A Comprehensive Guide

From Monolithic to Microservices: A Comprehensive Guide

In the evolving landscape of software development, the transition from monolithic architectures to microservices has become a significant trend. This transformation promises enhanced scalability, flexibility, and maintainability. In this blog, we will delve deep into the intricacies of both architectures, their pros and cons, and provide a detailed roadmap for migrating from a monolithic system to a microservices-based architecture. Understanding Monolithic Architecture A monolithic architecture is a traditional model for the design of a software program. Here, the application is built as a single, unified unit. Typically, a monolithic application consists of: A single codebase: All functionalities are interwoven and…
Read More
Understanding Microservices: A Technical Overview

Understanding Microservices: A Technical Overview

Since the end of 2017, the term "microservices" has become increasingly common. But what exactly are microservices? "Microservices are small, autonomous services working together to meet a specific demand." or "Independent services that together compose a single system." To clarify, microservices represent a software architecture, not merely a web service. As many systems and applications grow, it becomes increasingly challenging to implement changes. A simple change can necessitate a massive deployment. With luck, a deployment pipeline can ensure everything functions correctly before going live. We are moving towards a scenario where we use physical servers for deployment. Now imagine deploying…
Read More
10 Microservice Best Practices for Building Scalable and Resilient Apps

10 Microservice Best Practices for Building Scalable and Resilient Apps

Disclosure: This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article. credit - Design Guru Hello guys, it's no secret that Microservices have revolutionized the way we build applications, providing scalability, flexibility, and resilience, but its not easy to build Microservices which withstand test of time and test of production. To ensure the success of microservices architecture, it is crucial to follow best practices that address key challenges and promote effective development and deployment strategies. In the past, I have shared several Microservices articles like Microservices architecture…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.