Advantages
There are a number of reasons why we should use microservices. Let's discuss them in this lesson.
Microservices for scaling development #
One reason for the use of microservices is the easy scalability of development. Large teams often have to work together on complex projects. With the help of microservices, the projects can be divided into smaller units that can work independently of each other.
- For example, the teams responsible for an individual microservice can make most technology decisions on their own.
-
When the microservices are delivered as Docker containers, each Docker container only has to offer an interface for the other containers.
-
The internal structure of the containers does not matter as long as the interface is present and functions correctly. Therefore, it is irrelevant which programming language a microservice is written in. Consequently, the responsible team can make such decisions on their own. Of course, the selection of programming languages can be restricted in order to avoid increased complexity. However, even if the choice of the programming language in a project has been restricted, a team can still independently use an updated library with a bug fix for their microservice.
-
As stated in the ...