Md Sazzadul Islam

Monolithic vs Microservice Architecture. Why use Microservice?

Monolithic vs Microservice Architecture

Should you choose a microservices architecture over a monolith? What are the pros and cons in reality?

Monoliths

Microservices

Monoliths vs Microservices

A monolithic application puts all its functionality into a single process…

 … and scales by replicating the monolith on multiple servers

Monolithic and Microservice Architecture
Monolithic vs Microservice Architecture

A microservices architecture puts each element of functionality into a separate service..

… and scales by distributing these services across servers, replicating as needed.

Downsides of monoliths

Benefits of Microservices

Microservices downsides

Microservices should we?

“…don’t even consider microservices unless you have a system that’s too complex to manage as a monolith. The majority of software systems should be built as a single monolithic application. Do pay attention to good modularity within that monolith, but don’t try to separate it into separate services” Martin Fowler

“the design thinking and decomposition strategy required to create a good microservices architecture are the same as those needed to create a well-structured monolith” Simon Brown

Microservices use cases

Exit mobile version