I read that apache has a solution to create new thread per new request, but I still have some questions.
How is possible that one server can manage thousands (even a milion connection - depends from the app) at the same time?
Does this depends from the CPU? RAM? Bandwidth?
When we say "at the same time" (or when apache create new thread), we mean that these connections are executed in parallel/simultaneus? or they are concurrent?
Or does this depends from the server itself? e.g. if the server is multicore, the server can execute even in parallel (each thread in his core), even cuncurrent (several threads in one core concurrently).
If I want to handle thousands connection concurrently for one web app, what do I need to do? Buy more bandwidth? Invenst in CPU?
I am new in this and some good explanation would be great.