Deprecated Garbage Collections – Kenny Lee Chee Wei

A truckload of garbage by Kenny Lee Chee Wei

Simple load testing using http_load

with one comment

Found a simple load testing tool called http_load that can be used to test the throughput of your website.

Basically after downloading the tar file and doing a “make”, the executable http_load will be available. Create a file(i call it “urls”) to list down the urls that you want to test. Then run this command,

./http_load -rate 5 -seconds 10 urls | grep msecs/connect

Output: msecs/connect: 15.9684 mean, 46.466 max, 9.378 mi

I believe monit can also monitor remote hosts, but http_load is a quick way to do so with an easy setup in 1 minute.

About these ads

Written by kennii

July 27, 2008 at 1:27 pm

Posted in Cool Discoveries

Tagged with ,

One Response

Subscribe to comments with RSS.

  1. http_load looks pretty good.

    I often just resort to the ever reliable Apache Bench, which ships with Apache and Apache2.

    On Debian it resides at /usr/sbin/ab

    The command below will execute 10000 requests with a concurrency level of 150

    ab -n 10000 -c 150 http://your-site/

    I’ll be taking a look at http_load though, it looks pretty useful.

    Scott

    August 8, 2008 at 1:24 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: