The overhead for long polling is http connection establishment, also on server side the JEE server has to hold a lot of suspended requests.
For periodic polls with 10/20 seconds interval, it will work worse than long polling?
The overhead for long polling is http connection establishment, also on server side the JEE server has to hold a lot of suspended requests.
For periodic polls with 10/20 seconds interval, it will work worse than long polling?
It depends on various things:
(And no doubt there are others...)