Home > Back-end >  Design a query interface, 100000 users, even 500000 users, 1 million users of high concurrent users
Design a query interface, 100000 users, even 500000 users, 1 million users of high concurrent users

Time:10-02

Design a query interface, 100000 users, even 500000 users, 1 million users of high concurrent users query at the same time, how to design

CodePudding user response:

Concurrent 1 million, have to ask the experts, ha ha

CodePudding user response:

Request - & gt; Load balancing relegation cache - & gt; The database

CodePudding user response:

This level of concurrency, it is not just a single interface problems, mainly from the architecture of the solution:
For example:
1. The application of the load balancing (such as ngix)
2. The database, reading and writing separation, master-slave
3. The micro service, split
4. The interface to query data cache
  • Related