1/9
Learn more about microservices
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
aggregate
a unit of consistency that consists of one or many entities, with one of them serving as the aggregate root
how do we avoid eager loading
always reference the aggregate by identity, not through direct references to the instance itself
Command Query Responsibility Segregration (CQRS)
separates the read and write models from each other
result of CQRS
increases reliability, stability and availability. reads and writes can be scaled independently of each other
saga theory
manage business transactions that make use of compensating actions to manage inconsistency
saga
collection of sub transactions t1 to tn, which each have a compensating transaction c1 to cn
issues of microservices 1
additional complexity of creating a distributed system
solution for issue 1
implement inter-process communication mechanisms
issues of microservices 2
writing automated tests that involve multiple services is challenging
issues of microservices 3
deploying features that span multiple services requires careful coordination between various development teams