From: Bruce D. <bru...@ya...> - 2002-12-17 22:23:48
|
Where are we on the state transfer code? This will allow for the server which is (re)joining the cluster to get all of the sessions before he can receive an http request, is that correct? Will we queue the session manipulation messages that come in while the state transfer is going on and process them after it is finished but before the server starts accepting http requests? bruce --- Filip Hanik <ma...@fi...> wrote: > haven't got around to this yet, hopefully today, are > you in a hurry? > > Filip > > ~ > Namaste - I bow to the divine in you > ~ > Filip Hanik > Software Architect > www.filip.net > > >-----Original Message----- > >From: > tom...@li... > >[mailto:tom...@li...]On > Behalf Of > >Filip Hanik > >Sent: Wednesday, November 27, 2002 9:12 AM > >To: Bela Ban; Bruce Duncan > >Cc: tom...@li... > >Subject: [Tomcat-jg-development] RE: State transfer > to new node > > > > > >I will get this method done for you today > > > >Filip > > > >~ > >Namaste - I bow to the divine in you > >~ > >Filip Hanik > >Software Architect > >www.filip.net > > > >>-----Original Message----- > >>From: Bela Ban [mailto:be...@ya...] > >>Sent: Tuesday, November 26, 2002 9:50 PM > >>To: Bruce Duncan > >>Cc: Filip Hanik; tom...@li... > >>Subject: State transfer to new node > >> > >> > >>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 > >> > >> > >> > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Get the new Palm > Tungsten T > >handheld. Power & Color in a compact size! > >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > >_______________________________________________ > >Tomcat-jg-development mailing list > >Tom...@li... > >https://lists.sourceforge.net/lists/listinfo/tomcat-jg-development > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm > Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Tomcat-jg-development mailing list > Tom...@li... > https://lists.sourceforge.net/lists/listinfo/tomcat-jg-development __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |