Professional Documents
Culture Documents
Notes
By Kaustubh
Loosely coupled
Independently deployable
https://microservices.io/i/MicroservicePatternLanguage.pdf
https://microservices.io/index.html
problems
as service decomposition
architecture
applications.
Monolithic Architecture
Large single deployable unit
functionality
start
monolith
server side dev team, but it is not possible for these teams to
is less flexible and has to be kept the same for most of the
Understanding Microservice
Architecture
complex applications.
Improved maintainability
services.
in one service then only that service will be affected. The other
system.
technology stack.
Drawbacks
Distributed systems have additional complexity which
difficult
difficult
Deployment complexity
multiple services
complete orders.
type.
user accounts.
Decompose by business
capability
A service must be small enough to be developed by a small team and to
be easily tested.
Consider SRP
Consider OCP
OCP states that classes that change for the same reason
- of packages.
modeling.
stable
Decompose by subdomain
Define services corresponding to Domain-Driven Design (DDD)
subdomains
Core
differentiator.
Generic
expertise.
groups.
to domain objects
architecture
Different services may have different storage requirements eg
server.
services.
Each service can use the type of database that is best suited to
its needs
Drawbacks of database per service
is not straightforward
databases is challenging