Microservices benefits
- decoupling
- Independent deployment, continuous deployment
- System is small
- No need to get to know its brothers and sisters again
- Independent extension
- Independent upgrade
- Personnel cooperation is simple, you do your service and I do mine
- Good fault tolerance
- If you hang up, it won't affect me
Disadvantages of microservices
- Splitting and defining is a challenge
- Are you responsible for this matter, or am I responsible?
- Distributed system complexity
- The two services cooperate to provide information. Part of the information belongs to you and part of the information belongs to me. But to the outside world, we are actually a whole. How to combine this information?
- Teamwork
- There are dependencies between services, and the order of going online needs to be confirmed.
- When to start using microservices
- Difficult to determine