Hi Robin,

I found this in the jrun docs under the heading 'session replication', which 
seems to suggest that the sessions are only replicated after each request.

http://livedocs.macromedia.com/jrun/4/JRun_Service_Pack_1_Guide/4relnotes5.htm

Session replication

The following issues related to session replication are not fully explained in 
the JRun 4 documentation:

    * Session replication only happens at the end of a request when 
setAttribute or removeAttribute is called on the current session. The only time 
you must be aware of this feature is when making a change to an existing 
attribute. 


This is a bit of a problem when doing maintenance. If I restart server A, to 
ensure that I'm not going to drop any sessions I have to wait for the session 
timeout length before I restart server B. 


Jason Sheedy
Senior Web Developer
Voice International Limited


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Hilliard
Sent: Tuesday, 30 November 2004 11:41 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: CFMX/JRun Clustering

Jason Sheedy wrote:

> Hi guys,
> this is my first post to cfaussie, so please excuse me if I'm posting this
> question to the wrong list.

What took you so long? :-)

> I have a cluster of CF servers, 2 machines
> with 2 CFMX/Jrun servers on each machine with session replication enabled.
> My question is this; how long does it take and when is the session data
> replicated to the other servers in the buddy list?

It should happen at the end of each request.

> I curious to see how long it will take for session data to replicate to a
> server after I've switched it back on. What happens if no request are made
> to the servers? Will the session data still replicate in the backgroud?

Good question.  I'd assume that the cluster buddy who was restarting 
would pick up the replicated session state from the other buddies before 
it started accepting requests, otherwise the whole replication feature 
would be highly impractical (you'd always have to start and stop the 
entire cluster at the same time).  That said, I'm not sure - I've pinged 
  Mark Blair to see if he can ask Brandon Purcell for us.

Cheers,
Robin
http://www.rocketboots.com.au

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
b‹š­ç.®·§¶\¬¹»®&ÞvÚ}«¬²'š±ªÜ+Þ¨¥j·!Š÷œ¢dèº{.nÇ+‰·¬zwZnV§‘é[h•æ¯yÇÚË"{~ºàIb²ÛiéÊ&jà.²È1§+¢g‰ Þéh¥êì†Ûiÿùb²ÛiéÊ&jï

Reply via email to