PegasusWang explains recommended books on microservices
What is microservice
The service of a single application has its own itinerary and lightweight processing capabilities. According to the design of business functions, it is deployed in a fully automatic way to communicate with other services through HTTP API. At the same time, the service has the smallest scale of centralized management capabilities, such as Docker containers, and different services can be developed in different languages.
Where did microservices come from
In traditional monolithic applications, all functions are added to a code warehouse, information flow, column, question and answer, etc. The workload of merge code conflicts is too large, and deployment is full of risks.
According to the business boundary, split the service function, not hundreds of people maintain one, but several people can maintain one.
Microservices often encounter problems
Unreasonable separation of business functions, problems with different business cycle calls
Service discovery / communication RPC / message queue
How to track
distributedly Collect logs centrally