2

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.

user155293
  • 121
  • 1
  • `Does this depends from the CPU? RAM? Bandwidth?` All of it in general but very dependent on your specific case. Anyway, [SF] is not a site for fundamental IT questions. – Sven Oct 06 '16 at 11:36
  • @Sven just asked in StackOverflow and was deleted cause was off topic, was written to post in here – user155293 Oct 06 '16 at 11:37
  • They were wrong. We only deal with specific problems you have while administering a server, not general IT concepts. – Sven Oct 06 '16 at 11:38
  • ok i will try to post again the question – user155293 Oct 06 '16 at 11:44
  • 1
    If you try to post it again, make sure it is welcome. Obviously, it wasn't welcome on [SO] either, so don't post it there again. Check a site's help center before posting anything. – Sven Oct 06 '16 at 11:45
  • @Sven in which community a question like this should be posted? – user155293 Oct 06 '16 at 11:47
  • Sorry, I've no idea. – Sven Oct 06 '16 at 11:50
  • Possibly the SO sister site programmers.stackexchange.com *"a question and answer site for professional programmers interested in conceptual questions about software development."* – HBruijn Oct 06 '16 at 12:57

0 Answers0