Skip to main content

Posts

Showing posts with the label Microservices

What is Microservices Strangler pattern - Uses and Steps

The Strangler pattern is a technique used to gradually migrate a monolithic application to a Microservices-based architecture. It involves creating new services to replace specific functionalities of the monolithic application, while leaving the rest of the application intact. The new services are gradually "strangled" around the existing monolithic codebase, until the entire application is replaced by a set of Microservices. Steps to implement the Strangler pattern with Microservices:     Identify the functionalities of the monolithic application that are good candidates for migration to Microservices. These are typically functionalities that are tightly coupled to a specific subset of the application's data and have a clear, well-defined set of inputs and outputs.     Create new Microservices to replace the identified functionalities. These Microservices should be loosely coupled to the rest of the application and have a clear, well-defined API.     Decouple the new Mic

Monolith vs Microservices - 2

For Monolith vs Microservices - 1 Why some companies still prefer to go for Monolith architecture? Biggest advantage of using Monolith Architecture: We will further look on what exactly is the biggest advantage of using Monolith Services over the Microservices   If your application is small and not subjected to large scale in terms of complexity and user base then the development and deployment is pretty easy when compared to Microservices, even if you are planning to use cloud technologies and decided to host the Website and Services separately the Monolith approach would be ideal for this scenario. The developers of fictional software "PinPointer" would have a very quick time in developing and deploying the application, the initial maintainability is very easy, having said that the maintenance become tedious when the application grows in size  Disadvantages of Monolith Architecture: Where exacly the Monolith approach fails?  Now our fictional software "PinPointer"

Monolith vs Microservices - 1

Today we are going to see about the Monolith services vs Micro services and what are the key differences between them , advantages over one another, and finally specific purpose for each one. Monolith Services:  In simple terms, Monolith services are widely used technology in current software world, a traditional monolith service essentially runs in a single platform, a single stack which holds all the business logic and data access logic placed in a single service, also in most cases the UI, Business Logic and Data access layers are tightly coupled and deployed in a single machine, this may be available to scale but this is strictly stick to its own stack / platform Advantages of Monolith:   We can really get a lot of advantages for using Monolith services, * Single code base (This is an advantage until the code base isn't growing enormously) * No need to talk to other internal services to do a particular task as everything is available within * Single stack / platform is neede