There is no other way than to poll the server. The only way one can retrieve new messages and user list is by polling the server(we use AJAX).
The latest version v.5.2.1 is much better compared to earlier versions when it comes to resource usage.
If the user is idle, the requests interval goes up to 60 seconds, and after 500 seconds the user goes offline automatically which means there are no more requests until the user willingly goes online.
I guess your host has trouble when a lot of people are requesting the server.
Something to do with the way you make the connection which keeps each connection open and opens a new one every time.
This can happen if the server is too slow!
Can you tell me what exactly your host said, please provide as much information as possible. this will give us a better idea of what is happening and will help us to help you better.
version 6.0 is going to be released soon,
There are some major improvements such as we have removed some database related bottlenecks that were present in the earlier versions.
there will be long polling, so the request will be once in 60 seconds or more(depending upon max_execution_time that is set in the server) for a average user.
we are also working on a technique which is quite similar to PUSH, which will completely remove the dependency from your server(although required during initial authorization), so no more polling.
Please keep checking for newer versions, as they are released in every 15-30 days.
every new release equals less resource usage, more speed and security.
There is no other way than to poll the server. The only way one can retrieve new messages and user list is by polling the server(we use AJAX).
The latest version v.5.2.1 is much better compared to earlier versions when it comes to resource usage.
If the user is idle, the requests interval goes up to 60 seconds, and after 500 seconds the user goes offline automatically which means there are no more requests until the user willingly goes online.
I guess your host has trouble when a lot of people are requesting the server.
<em>
Something to do with the way you make the connection which keeps each connection open and opens a new one every time.</em>
This can happen if the server is too slow!
Can you tell me what exactly your host said, please provide as much information as possible. this will give us a better idea of what is happening and will help us to help you better.
version 6.0 is going to be released soon,
There are some major improvements such as we have removed some database related bottlenecks that were present in the earlier versions.
there will be long polling, so the request will be once in 60 seconds or more(depending upon max_execution_time that is set in the server) for a average user.
we are also working on a technique which is quite similar to PUSH, which will completely remove the dependency from your server(although required during initial authorization), so no more polling.
Please keep checking for newer versions, as they are released in every 15-30 days.
every new release equals less resource usage, more speed and security.
Necessity is the mother of all inventions!