apache2 mod_proxy configuration for single threaded servers

Posted by The Doctor What on Server Fault See other posts from Server Fault or by The Doctor What
Published on 2011-02-02T15:00:53Z Indexed on 2011/02/02 15:27 UTC
Read the original article Hit count: 492

I have a multiple instances of thin running behind apache 2.2's mod_proxy. The problem I have is that a couple pages, by design, take a while to run.

If I just configure apache the obvious way (just add the thin urls as BalanceMember lines and no other configurations) then what happens is if someone clicks on the long-running page, then if enough web requests happen while it is running, someone eventually gets the same thin server and has to wait.

Does anyone have some best practices or suggested configuration for mod_proxy and thin?

Ciao!

© Server Fault or respective owner

Related posts about apache2

Related posts about load-balancing