Tux

...making Linux just a little more fun!

Talkback:132/pfeiffer.html

[ In reference to "Boosting Apache Performance by using Reverse Proxies" in LG#132 ]

René Pfeiffer [lynx at luchs.at]
Sat, 2 Dec 2006 14:28:12 +0100

Hello, Clement!

Sorry for the late reply, but our office got redecorated with Gigabit wiring and our backup mail servers ate some mails.

On Nov 17, 2006 at 2347 -0800, Clement Huang appeared and said:

> Nice article, Rene.

Thank you!

>     I also saw apache_mod_proxy can do the reverse-proxy function. How
>     is the performance  comparing  to squid proxy?  any  benchmarking
>     on  this proxy  performance between these two?

To be honest I didn't do any benchmarking in order to compare both proxies. I usually stick to Squid because I use it for many years now and it has a very rich configuration file with options that can do (almost) anything you want. In my personal opinion Squid does a better job handling memory and disk cache than Apache's mod_proxy. You can tune the amount of memory it uses, define maximum object sizes, configure fetching of aborted requests and the like. This is often more important than having an extra couple of hits per second.

Best regards, René.

-- 
  )\._.,--....,'``.      Let GNU/Linux work for you while you take a nap.
 /,   _.. \   _\  (`._ ,. R. Pfeiffer <lynx at luchs.at> + https://web.luchs.at/
`._.-(,_..'--(,_..'`-.;.'  - System administration + Consulting + Teaching -
Got mail delivery problems?  https://web.luchs.at/information/blockedmail.php

Top    Back


René Pfeiffer [lynx at luchs.at]
Sat, 2 Dec 2006 14:35:36 +0100

Hello, Patrick!

On Nov 21, 2006 at 1437 -0500, Patrick Gaumond appeared and said:

> [...]
> I'm just curious after reading your article to know which tool you used to
> generate the traffic.

We used thousands of web browser and a lot of volunteers. ;)

> Jmeter ?

No, the graphs you see in the article was actually from a production server right in the middle of an advertising campaign (meaning lots of images and PDFs being served). Every once in a while I look at the tools for HTTP stress testing and benchmarking, but so far I don't like most of the tools I investigated. I like to set up automated test scripts. I usually do this by using Perl hacks. For a while I used Siege as a test tool (available at https://www.joedog.org/). The problem is to create or to gather suitable URLs for testing. Siege used to have a "scouting tool" that collected "all" URLs from a site so that you could use this data for random HTTP requests. I use my own spider and my Perl scripts to do this. Another program I noticed is Apache's own testing tool (https://httpd.apache.org/docs/2.0/programs/ab.html). I didn't use it yet mainly because I lack the time to setup a test environment.

Best regards, René.

-- 
  )\._.,--....,'``.      Let GNU/Linux work for you while you take a nap.
 /,   _.. \   _\  (`._ ,. R. Pfeiffer <lynx at luchs.at> + https://web.luchs.at/
`._.-(,_..'--(,_..'`-.;.'  - System administration + Consulting + Teaching -
Got mail delivery problems?  https://web.luchs.at/information/blockedmail.php

Top    Back