I know what server load balancer and high concurrency should be used to solve this problem, but I don't know how to do it even though I have no experience in the concept of server load balancer and high concurrency, I searched for nginx to achieve load balancing and high concurrency, apache to achieve load balancing and high concurrency, and memcache to achieve load balancing and high concurrency. which one should I use? Please give us some tutorials and examples.
Reply to discussion (solution)
No time for the gods ....
Great God comes ,,,,,,,
.
In fact, server load balancer is a distributed architecture. multiple servers run at the same time and are automatically called according to the pressure. here we use lvs + cluster.
Queue should be used for high concurrency, and redis can be used for queue
Memcache is used for caching. Reduce the number of request db times.
Database read/write splitting