
Sam Newman on Information Hiding, Ubiquitous Language, UI Decomposition and Building Microservices
The InfoQ Podcast
00:00
Can One Microservice Manage Multiple Aggregates?
Can one microservice handle the life cycle and data storage of more than one aggregate? Yes. And that's quite common. So you could have a microservice might encapsulate, say, five or it might manage two, three, four, five, 10, 15, 20 different aggregates inside it. We could have a domain model for how microservices handle domain models effectively if you wanted to from that point of view. The granularity of a microservice actually doesn't matter too much because there's lots of different factors that go into size and that's probably a separate conversation.
Play episode from 13:16
Transcript


