On 10/21/2009 11:39 AM, Bela Ban wrote:
This doesn't work currently, as the apache mod-cluster instances
don't
exchange information about their states, e.g. which sticky session is
routed to which worker.
No wait, I guess I'm wrong: they don't need to !
Say we have Apaches A1 and A2, and workers W1, W2 and W3.
If a client request hits A2 and A2 creates a new session on W3, then the
session id is going to be SESSION.W3. When the same client now hits A1,
A1 should actually also route the request to W3 ! This of course assumes
that all workers have registered with all Apache daemons.
So IMO we don't even need to exchange routing information between the
Apache daemons... can someone confirm this ?
Yep. It will work that way.
Cheers
Jean-Frederic