Acton Wang
asked on
best to send notification from the server
hi,
I am trying to find some good way to do client side notification from the server side. The common framework such as pushlet, activemq etc, client side always uses a keep-live open connection. but if we have large number of connections from clients. I will have the problem in terms of scalability.
probably the only way to be scalable is let client side ask and pull the notification. any existing framework along with java anybody knows?
thx
Acton
I am trying to find some good way to do client side notification from the server side. The common framework such as pushlet, activemq etc, client side always uses a keep-live open connection. but if we have large number of connections from clients. I will have the problem in terms of scalability.
probably the only way to be scalable is let client side ask and pull the notification. any existing framework along with java anybody knows?
thx
Acton
You can perform a regular xmlhttp request from a setInterval function to poll the server every so milliseconds.
ASKER
sorry. this answer is too simple
Usually the simpler solutions are the most robust.
Unfortunately, I do not know of any client-server notification methods besides the two mentioned above: open connection and regular polling on timer.
You can of course try using UDP protocol with a java applet and a specialized service on the server, if this is complex enough a solution for you :)
Unfortunately, I do not know of any client-server notification methods besides the two mentioned above: open connection and regular polling on timer.
You can of course try using UDP protocol with a java applet and a specialized service on the server, if this is complex enough a solution for you :)
perhaps : http://www.ape-project.org/
ASKER
it is push thing as well.
does anyone know some comet (push) solution in highly scalable environemtn? the reason is that server side connection number is limited and I can not imagine this kind of push solution is scalable.
does anyone know some comet (push) solution in highly scalable environemtn? the reason is that server side connection number is limited and I can not imagine this kind of push solution is scalable.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
how is comet pattern different from either polling or keeping an open connection?
ASKER
i was looking for detailed solution, not as some abstract outline.
ASKER
no really helpful answer and found some solution by myself.