Bill Stoddard wrote:
Pavan Balaji wrote:
Thanks. I was trying to segregate the requests into two priority levels (don't ask me how :-)) and have a different queue for each of them. Now that there's no queue, I'll have to come up with some other scheme to do this. Any suggestions are welcome.
Apache 2.0 provides some interesting possibilities. You can either modify an existing MPM (http://httpd.apache.org/docs-2.0/mpm.html) or create your own.
Bill
Tho it is not obvious in the link referenced above, the worker MPM introduces a queue between the thread that accepts connections and a pool of worker threads that do the work serving the request. The per-child MPM has a queue between an 'acceptor' process and multiple 'worker' processes that each have the ability to run under a unique user id. It would probably not be too difficult to experiment with priority queuing using the worker MPM.
Bill