|
From: Bela B. <be...@ya...> - 2002-11-27 05:53:43
|
Filip, Bruce,
I noticed that transfer of all session to a new node is done by 2
asynchronous EVT_GET_ALL_SESSIONS messages.
The new node sends this message to the current coordinator (first node
started), which then sends back a unicast message for each session (and
associated principal) to the joining node.
So if you have 100 sessions, the joining node will receive at least 100
messages (EVT_SESSION_CREATED msg).
I'd like to change this to use the STATE_TRANSFER protocol of
JavaGroups. To do so, I'll need your help:
* Filip: is there a method to get all sessions as a byte buffer ?
I'll also need a method to recreate and set the sessions given a
byte buffer.
* The default protocol stack needs to contain the STATE_TRANSFER
protocol on top. Do we have default properties anywhere ? At least
we need to change the documentation.
Cheers,
--
Bela Ban
www.javagroups.com
(408) 316-4459
|