Split a large backend into smaller services that can communicate and scale independently.
Microservices architecture breaks an application into smaller services, with each service responsible for a specific business capability. NestJS provides abstractions for building these services and communicating through different transport mechanisms.
Communication can happen through patterns such as request-response or event-based messaging. Microservices can improve independent deployment and scaling, but they also introduce distributed-system problems such as network failures, message delivery, observability, and data consistency.
What you'll walk away knowing