33
CHAPTER 3 | Architecting container and microservice-based applications
have the data that the application needs in the query table. Of course,
using Command and Query
Responsibility Segregation (CQRS) with query/reads tables means additional development work, and
you’ll
need to embrace eventual consistency. Nonetheless, requirements on performance and high
scalability in
collaborative scenarios
(or competitive scenarios, depending on the point of view) are
where you should apply CQRS with multiple databases.
Dostları ilə paylaş: