[RFC] HTTP module benchmarks

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Hi all,

I was interested how fast Kannel's HTTP server implementation is.
Mainly because we wanted to use it as a base for own applications to
be writen in C here at Wapme.

Here is a result in comparision against Apache 1.3.26, which does not
look to good for us. I thought we should be faster then the
full-fleatched default configuration of Apache, but we haven't.

HTTP server comparision (Kannel vs. Apache)
===========================================

Machine: 1x CPU Pentium III 800 MHz (1602.35 bogomips), 
         512 MB RAM, running RedHat 7.2 Linux


httpd (Apache) with default conf
--------------------------------

zion:~ # siege -u http://xxx/test
** Siege 2.56b1
** Preparing 10 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.
Transactions:                  55025 hits
Availability:                 100.00 %
Elapsed time:                  60.17 secs
Data transferred:             385175 bytes
Response time:                  0.00 secs
Transaction rate:             914.49 trans/sec
Throughput:                  6401.45 bytes/sec
Concurrency:                    0.18
Successful transactions:       55025
Failed transactions:               0


test_http_server (1 client thread)
----------------------------------

zion:~ # siege -u http://xxx:9000/
** Siege 2.56b1
** Preparing 10 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.
Transactions:                  38136 hits
Availability:                 100.00 %
Elapsed time:                  60.48 secs
Data transferred:             190680 bytes
Response time:                  0.00 secs
Transaction rate:             630.56 trans/sec
Throughput:                  3152.78 bytes/sec
Concurrency:                    2.88
Successful transactions:       38136
Failed transactions:               0


test_http_server (5 client thread)
----------------------------------

zion:~ # siege -u http://xxx:9000/
** Siege 2.56b1
** Preparing 10 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.
Transactions:                  37095 hits
Availability:                 100.00 %
Elapsed time:                  59.73 secs
Data transferred:             185475 bytes
Response time:                  0.00 secs
Transaction rate:             621.04 trans/sec
Throughput:                  3105.22 bytes/sec
Concurrency:                    2.98
Successful transactions:       37095
Failed transactions:               0


test_http_server (10 client thread)
----------------------------------

zion:~ # siege -u http://xxx:9000/
** Siege 2.56b1
** Preparing 10 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.
Transactions:                  36648 hits
Availability:                 100.00 %
Elapsed time:                  59.61 secs
Data transferred:             183240 bytes
Response time:                  0.01 secs
Transaction rate:             614.80 trans/sec
Throughput:                  3073.98 bytes/sec
Concurrency:                    3.23
Successful transactions:       36648
Failed transactions:               0


Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.