|
RE: [Webware-devel] mod_webkit multi-AppServer
From: Geoffrey Talvola <gtalvola@na...> - 2002-07-02 14:48
|
Ian Bicking wrote: > To experiment with the feature set, as opposed to the actual speed, it > might be best to start with WebKit.cgi (or probably just Adapter.py), > and then port to mod_webkit. Actually, it might work okay for speed > too, since you'd still have balancing -- the front box would just have > to be beefier. The mod_python adapter would also be a nice place to do these experiments -- it's not as fast as mod_webkit but you'll still get much better speed than with WebKit.cgi and the ease of working with Python code instead of C code. > > There was talk of associating users with particular instances of the > AppServer, via the SID, so that session data didn't have to > be shared. > This would be a nice feature, and probably pretty easy to implement in > Adapter.py. From the WebKit user's guide: SessionPrefix = None This setting can be used to prefix the session IDs with a string. Possible values are None (don't use a prefix), "hostname" (use the hostname as the prefix), or any other string (use that string as the prefix). Why would you want to use this? It can be used along with some mod_rewrite magic to do simple load balancing with session affinity. I put this in a few months ago. As the documentation says, I intended it to be used with a clever set of mod_rewrite rules (which I never got around to actually writing) to do load balancing. It could certainly also be used by an adapter. - Geoff |
| Thread | Author | Date |
|---|---|---|
| RE: [Webware-devel] mod_webkit multi-AppServer | Geoffrey Talvola <gtalvola@na...> |