I know this problem is very small white, but because there is no experience, although know the concept of load balancing and high concurrency but do not know how to proceed, search under the Niang has nginx to achieve load balancing and high concurrency, there is Apache to achieve load balancing and high concurrency, memcache to achieve load balancing and high concurrency, Which one should we use? Please be guided by the great God, preferably with tutorials and examples
Reply to discussion (solution)
The great God is not free ....
The great God has come,,,,,,,
are used.
In fact, load balancing is a distributed architecture, with multiple servers running at the same time, depending on the pressure auto-provisioning call, the lvs+ cluster is used here.
High concurrency should use the queue, you can use Redis to do the queue
The memcache is cached. Reduce the number of DB requests.
Database sub-reading and writing