Introduction of Micro-services Spring boot
Microservices allow large systems to be built up from a number of collaborating components. It does at the process level what Spring has always done at the component level: loosely coupled processes instead of loosely coupled components.
For example imagine an online shop with separate microservices for user-accounts, product-catalog order-processing and shopping carts.
Challenges With Microservice Architecture
While developing a number of smaller microservices might look easy, there is a number of inherent complexities that are associated with microservices architectures. Let's look at some of the challenges:
Automating the Components: It becomes difficult to automate everything because there are a number of smaller components instead of a monolith, i.e. builds, deployment, monitoring, etc.
Perceptibility: There is a number of small components to deploy and maintain which sometimes becomes difficult to monitor and identify problems. It requires great perceptibility around all the components.
Configuration Management: There is a great need to maintain the configurations for the components across the various environments.
Debugging: It becomes difficult to probe each and every service for an error. Centralized Logging and Dashboards are essential to make it easy to debug problems.
Consistency: You cannot have a wide range of tools solving the same
problem. While it is important to foster innovation, it is also important to have some decentralized governance around the languages, platforms, technology and tools used for implementing/deploying/monitoring microservices.
Reference Links
https://dzone.com/articles/spring-boot-microservices-building-microservices-a
https://spring.io/blog/2015/07/14/microservices-with-spring
Comments