On May 17, 2004, at 1:18 PM, Adam Tilghman wrote:
[...]You know, I'd recommend using apache in reverse proxy mode.That's correct - I'm switching UID/GID on every request based on the provided authenticated username. It seems to me a multi-threaded server wouldn't be able to handle this situation very well.Of course, this would assume you have enough memory to handle multiple instances, and that you know the list of users ahead of time.
We're going to be using this module to support mod_dav in a university
setting, with 30k potential users and hundreds of simultaneous sessions.
It seems to me that running in reverse proxy mode as you suggest would
require one running instance per possible UID, which would be fine for
tens or even hundreds of users, but not for the number we have to support.
Am I understanding this reverse proxy concept properly?
Yes, you are. It's not tenable for the deploy senario you require. I use this method for loadbalancing, where it distributes to < 1000 instances.
Thanks!
-- Adam
