Mircoservice Architecture
Microservice architecture (better known as microservices) is an architectural style that gives structure to application as a collection of services.
-Benefits of Microservice
- Enables each service to be created and developed independently by a team that is focused on that service.
- It helps solve the problem of complexity by breaking down application into a much more manageable service. This makes it much faster to create and develop, which makes the application much easier to understand and manage.
- It heavily reduces the barrier of adopting new technologies.
- Microservices also enable each of the services to be scaled independently.
-Downsides of Microservices
- Microservice architecture makes you have to choose and implement an inter-process communication mechanism.
- Microservice has a partitioned database architecture.
- It is much more complex in the case of monolithic web application.
- It is more difficult to implement changes that span multiple services.
- Microservices is much more complex to deploy.
Monolithic Architecture
Monolithic applications are designed to handle multiple related tasks. This is the traditional unified model for the design of a software program. It is self-contained, and the components of the program are interconnected and depend on each other rather than loosely coupled.
-Benefits of Monolithic Architecture
- Simple to develop.
- Easy to test.
- Simply to deploy. All you have to do is copy the packages application to a server.
- Simple to scale horizontally by running multiple copies behind a load balancer.
-Downsides of Monolithic Architecture
- Has a limitation in size and complexity due to its simple approach.
- This application is far too large and complex to fully understand and make changes with ease and efficiently. -You have to redeploy the entire application on each update.
- Slow times for start-up.
- Continuous deployment is difficult.
- Can be be difficult to scale when different modules have conflicting resources requirements.
- A barrier to adopt new technologies.
YouTube Tutorial- https://youtu.be/yJUokLcMiVs
Links Used
- https://articles.microservices.com/monolithic-vs-microservices-architecture-5c4848858f59
- https://medium.com/startlovingyourself/microservices-vs-monolithic-architecture-c8df91f16bb4
- https://whatis.techtarget.com/definition/monolithic-architecture
- https://microservices.io/
**
Top comments (0)