netty based http server performance 15K/sec

Jaymin Shah sjaymin at gmail.com
Thu Aug 11 03:34:51 EDT 2011


Please find below command I had used and its output.

*Command#*
ab -n 20000 -c 200  http://localhost:8080/

*Output#*
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 2000 requests
Completed 4000 requests
Completed 6000 requests
Completed 8000 requests
Completed 10000 requests
Completed 12000 requests
Completed 14000 requests
Completed 16000 requests
Completed 18000 requests
Completed 20000 requests
Finished 20000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8080

Document Path:          /
Document Length:        230 bytes

Concurrency Level:      200
Time taken for tests:   8.438 seconds
Complete requests:      20000
Failed requests:        0
Write errors:           0
Total transferred:      5800000 bytes
HTML transferred:       4600000 bytes
Requests per second:    2370.09 [#/sec] (mean)
Time per request:       84.385 [ms] (mean)
Time per request:       0.422 [ms] (mean, across all concurrent requests)
Transfer rate:          671.22 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   6.1      0     507
Processing:     5   83  97.4     63    1099
Waiting:        3   52  76.5     41     598
Total:          5   83  97.7     64    1099

Percentage of the requests served within a certain time (ms)
  50%     64
  66%     70
  75%     77
  80%     80
  90%    101
  95%    116
  98%    587
  99%    597
 100%   1099 (longest request)


On Thu, Aug 11, 2011 at 9:36 AM, News Aanad <news.anand11 at gmail.com> wrote:

>
>
> ---------- Forwarded message ----------
> From: Jamie McCrindle <jamiemccrindle at gmail.com>
> Date: Wed, Aug 10, 2011 at 11:53 AM
> Subject: Re: netty based http server performance 15K/sec
> To: Netty Users <netty-users at lists.jboss.org>
>
>
> Can you send the apache bench command line you used along with the output?
>  On Aug 10, 2011 8:09 AM, "Jaymin Shah" <sjaymin at gmail.com> wrote:
> > Hi,
> >
> > It was claimed that netty based http server can handle *15693.29 [#/sec]
> > request* ref# http://www.olympum.com/java/quick-benchmark-java-nodejs/
> >
> > I have tried using org.jboss.netty.example.http.snoop but never got
> > performance beyond* 2285.58 [#/sec] (mean)*. I am using Windows 7 -
> 64-bit
> > operating system with 4GB RAM and Intel core i5 with 2.40GHz
> >
> > Can someone please share their experience how I can achieve mentioned
> > performance.
> >
> > regards,
> > Jaymin
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110811/e21b0d2f/attachment.html 


More information about the netty-users mailing list