/ Zope / Apsis / Pound Mailing List / Archive / 2004 / 2004-01 / Sluggish network response with Pound

[ << ] [ >> ]

[ Performance Problems on RHEL3 / Oliver Sontag ... ] [ Pound and OpenBSD 3.4 / Andy Nymous ... ]

Sluggish network response with Pound
Dennis Allison <allison(at)sumeru.stanford.EDU>
2004-01-06 07:08:52 [ FULL ]
I'm running RH7.3 with Pound using it as a front-end and a
reverse proxy -- nothing fancy, each entry looks like 

UrlGroup ".*"
BackEnd 127.0.0.1,8082,5
HeadRequire Host ".*subdomain\.primarydomain.com.*"
EndGroup

All in all, I have 187 UrlGroups servicing an equivalent number of
domains.  I'm seeing sluggish performance and suspect a scaling 
problem.

Does anyone have experience with how Pound scales?
Any suggestions as to how to make the response zippy?  In an 
earlier system we ran forty or so UrlGroups without any noticable 
problems.  And, of course, it's possible that the problem lies
elsewhere.

Re: Sluggish network response with Pound
Robert Segall <roseg(at)apsis.ch>
2004-01-06 14:56:31 [ FULL ]
On Tue, 2004-01-06 at 07:08, Dennis Allison wrote:[...]

There could be a scaling problem, but I suspect it would take much more
than 187 groups to become aware of it (matching time is linear on the
number of groups). It is an open question if you really require all that
many entries - I would be surprised if you have 187 separate back-end
servers, and regular patterns are very powerful allowing you to define
multiple domains in one go (such as in HeadRequire Host
".*(sub1,sub2,sub3)\.primary\.com.*" or perhaps
".*www[1-8]\.primary\.com.*").

I would look first into things like DNS resolution (is 127.0.0.1 in your
/etc/hosts file, and is the file consulted - via resolv.conf - _before_
the DNS?) and possibly network setup (how long does it take to actually
open a socket to some remote host? ARP can get nasty at times if you
have some unfriendly routers in the way).[...]

MailBoxer