1. File upload and business coupling
Case: In the project, the file service is regarded as a public tool class, and other microservices are uploaded to the file server through this tool class. because of U.S
A certain microservice uploads pictures very frequently within a certain period of time, causing the number of connections of the service to be full and the service to freeze
Optimization solution: Split all upload interfaces into microservices, just upload and return the path
2. The amount of table data grows too fast, and the large table
Case: A table suddenly grows to nearly tens of millions of data, causing many related queries to be slow
Optimization scheme: hot and cold splitting, partitioning, nosql database