From the course: Software Architecture: Domain-Driven Design
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Advantages of microservices
From the course: Software Architecture: Domain-Driven Design
Advantages of microservices
- [Instructor] The microservice breaks the monolith up into a series of small services that talk to each other across the network. Now I should say that it's not like breaking up a chocolate bar, is that you can't just take a monolith and break it up into pieces and call them microservices. Microservices have to be designed in a very specific way and that's why I'm talking about microservices in a class on domain driven design. DDD is almost an ideal way to design a set of microservices. So, what characteristics do a microservice have? There a few and it's worth looking at all of them. First of all, microservices are very small. How small? Well the general rule of thumb is that a microservice should be as big as your head. What's meant by that is that everything that you need to know in order to make sense of the service should be something that could hold in your head without having to look it up. In practice, if…