M
M
MaxFreedom2016-10-16 13:01:52
Apache HTTP Server
MaxFreedom, 2016-10-16 13:01:52

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

2 answer(s)
D
DuD, 2016-10-16
@DuD

The easiest thing to do is switch to nginx+php-fpm. Naked Apache is not productive at all, no matter how you configure it.

S
Sergey Semenko, 2016-10-16
@abler98

https://www.google.com.ua/search?q=comet+apache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question