users@glassfish.java.net

Glassfish, comet and MySQL question

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Jan 2009 14:11:00 PST

I've been using simple ajax polling from my web client to check when a value on my MySQL database has changed but as the number of clients has grown it is obviously not scaling well.

Would someone help put me on the right track? Basically what I want to do is have each client browser, say 1000 of them, be able to have database updates pushed to them when something they are interested in changes in the database.

I think I can use GlassFish and Grizzly to implement this, correct? How do I poll the database from the servlet to check if data has been updated? How do I push the update to the client?

I'm still trying to learn how this all works so any help would be appreciated.

Thanks.
bondo.
[Message sent by forum member 'bondo' (bondo)]

http://forums.java.net/jive/thread.jspa?messageID=327725