The overhead for long polling is http connection establishment, also on server side the Java EE server has to hold a lot of suspended requests.
For periodic polls with 10/20 seconds interval, it will work worse than long polling?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on various things:
(And no doubt there are others…)