Microservices
An architectural approach where applications are built as independent, loosely coupled services.
Definition
Microservices architecture breaks applications into small, independent services that communicate via APIs. Each service handles a specific business capability and can be developed, deployed, and scaled independently.
This contrasts with monolithic architecture where all functionality exists in a single codebase.
Why It Matters
Microservices enable teams to work independently, deploy faster, and scale specific functions. Large organizations use them to manage complexity and allow technology flexibility.
However, microservices introduce distributed system challenges like network latency, data consistency, and operational overhead.
Examples in Practice
An e-commerce platform has separate microservices for inventory, checkout, user accounts, and recommendations.
A team updates the payment microservice without redeploying the entire application.
Performance issues in one microservice are isolated, preventing the entire application from slowing down.