Pages

Thursday, November 30, 2023

monolitic app vs microservice note

 // monolitic


Suppose that you have an application with tightly coupled components. These components might include databases, servers, the user interface, business logic, and so on. This type of architecture can be considered a monolithic application. 


In this approach to application architecture, if a single component fails, other components fail, and possibly the entire application fails.





===========


// microservices


In a microservices approach, application components are loosely coupled. In this case, if a single component fails, the other components continue to work because they are communicating with each other. The loose coupling prevents the entire application from failing. 







When designing applications on AWS, you can take a microservices approach with services and components that fulfill different functions. Two services facilitate application integration: Amazon Simple Notification Service (Amazon SNS) and Amazon Simple Queue Service (Amazon SQS).




============


No comments:

Post a Comment