Open GoogleCodeExporter opened 9 years ago
Unfortunately gwt-comet does not support <distributable/> CometSessions at this
stage. The main problem is the CometSession encapsulates a queue of messages
which is
continuously changing. I'm not sure how distributing this queue across a cluster
would work.
We would want to ensure current message order guarantees across node migrations.
This is one thing preventing gwt-comet working on Google App Engine.
Something to investigate.
To get around this for now you will have to use the Direct Model
http://code.google.com/p/gwt-comet/wiki/GettingStarted#Direct_Model which does
not
require sessions. You have to manage your own message distribution and queuing.
Original comment by rich...@zschech.net
on 11 Mar 2010 at 10:46
Ok, I will try that, is there any example on the source of doing that
implementing a
queue of messages like you did with CometSessionImpl?
Original comment by pablo.mm...@gmail.com
on 12 Mar 2010 at 11:01
Got it working, if you want I can modify the Chat example to use the direct
approach,
so you can provide the two types...
Original comment by pablo.mm...@gmail.com
on 12 Mar 2010 at 8:55
Original issue reported on code.google.com by
pablo.mm...@gmail.com
on 11 Mar 2010 at 8:45Attachments: