Monolithic & Microservice's
Monolithic
-means we are developing every functionality will sit in one application.
-single point of failure
-tight coupling
-centralized network
Microservices:
-here we develop our project by breaking into multiple applications i.e is microservices.
-Fault tolerance
-loosely coupling
-decentralized network
-high cohesion
-observability
when to use?
Monolithic -if we care about budget, project has small features. and project size is small.
Microservice-here budget is more, and complexity is more, designing microservice is a Challege. and if we have many requests then we need scaling and Microservices allow for better scalability, fault isolation, and flexibility in development and deployment.