Re: [Simpleweb-Support] limiting the number of requests handled per connection
Brought to you by:
niallg
From: Niall G. <ni...@em...> - 2004-12-13 05:32:48
|
Hi, Sorry for the delay, I replied to this about 5 or 6 weeks ago and still it = has not appeared in the mail archives. Anyway, I would like to see your pat= ch. My guess is that the best way to do this would be to create a Poller su= bclass that could count the number of requests processed and close the sock= et after x number of requests have been handled. Niall ----- Original Message ----- From: "Petro, Christopher" <cp...@ve...> To: sim...@li... Subject: [Simpleweb-Support] limiting the number of requests handled per co= nnection Date: Fri, 29 Oct 2004 17:10:41 -0400 >=20 > 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. >=20 > 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. << smime.p7s >> --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |