Hi,
I made some more tests with -current, and didn't find what I expected.
And now I'm quite confused whether I made the wrong assumptions. I
wanted to find out how much faster two servers behind a pound proxy
would perform, compared two one, or compared to both, if they are
connected directly.
What I expected was, that two server behind a pound would almost double
the performance. What I found is: It doesn't at all :-(
Some info: I did a very basic testing with the apache "ab" program. I
tried with somewhat dynamic content as well as with downloading a
picture. Whatever I tried, the results were almost everytime similar to
this (the testservers are not the fastet, I know...):
BackEnd1 directly: 2,84 pages/second
BackEnd2 directly: 1,96 pages/second
two BackeEnds behind a pound: 3,12 pages/second
(with a picture it looks something like BackEnd1: 80, BackEnd2: 70,
behind pound: 90)
The gain isn't too impressive, right? I'm now wondering if this is
expected? Two more notes: My pound config was very basic:
-----------------------------------------------------------------------
ListenHTTP 127.0.0.1,80
ListenHTTP 192.168.0.98,80
User nobody
Group nobody
ExtendedHTTP 1
WebDAV 1
LogLevel 2
URLGroup ".*"
BackEnd 192.168.0.1,8080,1
BackEnd 192.168.0.98,8080,1
EndGroup
-----------------------------------------------------------------------
And another strange thing I've seen: I checked every server alone
through a pound with only one BackEnd, to see if this would slow things
down. But it seemed to do vice versa, the numbers were always a bit
better than those when connecting the server directly. I fact, I can't
believe this to be true, but at least it would prove that pound as is
would not be a problem for the performance.
Thanks for any advice,
Sascha
--
Gallileus - the power of knowledge
Gallileus GmbH http://www.gallileus.info/
|