-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Microservices with Go
By :

In order to understand how to get the best results from using microservices and which issues to be aware of, let's review the pros and cons of the microservice model.
As previously described, different application components may have fundamentally different requirements and at certain points diverge so much that it would be beneficial to separate them. In this case, microservice architecture provides a clear solution by decoupling the parts of the system.
Microservices provide the following benefits to developers:
As we can see, microservices bring a high degree of flexibility and help to achieve a higher level of independence between the components. These aspects may be instrumental to the success of a large development team, allowing them to build and maintain independent components separately. However, any model comes at its own cost, and in the next section, we are going to see the challenges you could face with a collection of microservices.
As with any solution, microservice architecture has its own issues and limitations. Some issues with microservice architecture include the following:
As we have just illustrated, the microservice model comes at a cost and you should expect that you will need to solve all these challenges at a certain point. Being aware of the possible challenges and being proactive in solving them is the key to success – the benefits that we have described earlier can easily outweigh the possible issues.
In the next section, we are going to summarize when to use the microservices and learn some best practices for working with them.