This post was last edited by lumengabc on 2013-06-17 11:04:53
Title.
or 10 different IPs simultaneously access the home page of the site, the server will generate 10 processes? 1 process 10 threads?
Who can tell me what kind of situation this is? Or are there related books (concepts such as high concurrent server Max connections thread) recommended?
Reply to discussion (solution)
Right!
CGI-mode servers generate 10 of processes
A server with a modular approach will generate 10 threads
10 Processes N Threads.
Right!
CGI-mode servers generate 10 of processes
A server with a modular approach will generate 10 threads
If 10,000 users (or more) at the same time browse the homepage of the site, generate 10,000 processes, the server is not hanging it?
No 10,000 processes are generated because the server has a maximum simultaneous response limit
Exceeded requests are placed in the queue waiting to be processed
So when you get a lot of traffic, you'll feel slower.
Oh, I get it. Is it possible to understand:
As if Apache were 256 concurrent processes by default. If the number of concurrent users is more, you may want to consider other methods.
(Optimizer processing speed, the fastest return results to the client to end this process, to prepare for the next process access.) Or do you have a server cluster or something? )
Right!
CGI-mode servers generate 10 of processes
A server with a modular approach will generate 10 threads
If 10,000 users (or more) at the same time browse the homepage of the site, generate 10,000 processes, the server is not hanging it?
Apache has a process pool that exceeds the pool limit and other accesses will wait.