On Tuesday February 19, 2002 01:38 am, Chuck Esterbrook wrote: > I had heard at one point that there are load balancers that can keep > redirecting to the same machine based on a cookie (eg, _SID_). But > you'd have to investigate and you'd have to purchase one. > > On a whim, I searched Google for: > load balancer cookie session same machine > > And came up with this real quick: > http://support.zeus.com/doc/zlb/changes.html
If you want a free solution, I'll bet a front-end machine running Apache with mod_rewrite combined with mod_proxy could do it. First modify your WebKit application so that it sets a "_BACKEND_" cookie to the name of the machine running WebKit. This could be in the awake() method of your SitePage, or wherever is convenient. (Later we could make this a setting in Webware if it turns out to be convenient.) Then mod_rewrite would just look for that cookie, and if it found it, it would proxy the request to that machine, otherwise it would proxy to a random back-end. >From looking at the mod_rewrite docs, it looks like mod_rewrite is flexible enough to examine cookies and choose random alternatives, so using some combination of settings you ought to be able to do this. Does anyone have enough mod_rewrite/mod_proxy expertise to know how to do this? - Geoff _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
