Answer the question
In order to leave comments, you need to log in
How much load can Apache withstand with long polling?
Hello!
Tell me, maybe someone has come across such a task - the bottom line is that I want to make a messaging system between users, I originally did it in JS with setInterval of 3 seconds (AJAX), everything works, but I understand that with a large number of users, the server can crash. Interestingly, when implementing this idea on Long Polling, approximately how many times the load on the server will decrease, if there are any examples, then I will be glad for any answer. Socket.io, NodeJS a little later) Now it's interesting how, for example, dating sites worked without modern implementations)
Answer the question
In order to leave comments, you need to log in
The easiest thing to do is switch to nginx+php-fpm. Naked Apache is not productive at all, no matter how you configure it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question