[Simpleweb-Support] limiting the number of requests handled per connection
Brought to you by:
niallg
From: Petro, C. <cp...@ve...> - 2004-10-29 21:10:47
|
We would like to limit the number of requests handled on a given connection. After that, we would like the connection to be closed. After digging around through the source, we couldn't find a way to do this. Is there a way we didn't find? For now, we have implemented this as a patch. I'd be happy to forward the patch along if you'd be willing to evaluate it for inclusion in the main tree. In case it's unclear why this is desirable, I'll explain our situation. We have a cluster of simpleweb servers behind a hardware load balancer. Clients connect to the cluster and execute transactions continuously (it's not an interactive application). Because the requests run continuously, they never time out. This results in very uneven load balancing. If connections are periodically closed, load balancing improves significantly. |