[ 
http://issues.apache.org/jira/browse/DIRMINA-232?page=comments#action_12424919 
] 
            
Niklas Therning commented on DIRMINA-232:
-----------------------------------------

I tried to run ab2 with the modified version of HttpProtocolHandler you posted 
above and I can't even get ab2 to finish:

[EMAIL PROTECTED]:~$ ab2 -k -n 100 http://localhost:8080/index.html
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)...
Test aborted after 10 failures


Total of 5 requests completed

As you can see I'm using the exact same version of ab2 as you (I'm on Ubuntu 
6.06 too).

When telnetting to port 8080 it seems like I sometimes get partial responses 
and responses missing the headers. Are you using the svn version (that's what 
I'm using) of MINA or 0.9.4? Have you made any changes to Main.java for the 
httpserver example?

> Performance of StreamIoHandler degrades dramatically when the IoSession is 
> kept alive between HTTP requests
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-232
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-232
>             Project: Directory MINA
>          Issue Type: Bug
>    Affects Versions: 0.9.5
>         Environment: Ubuntu Linux 6.06
>            Reporter: Oleg Kalnichevski
>
> I have been observing a strange issue with MINA's StreamIoHandler while 
> benchmarking the performance of the HTTP server based on HttpCore and MINA. 
> The throughput of the StreamIoHandler tends to degrade dramatically when the 
> IoSession is kept alive between HTTP requests. The problem is perfectly 
> reproducible with a slightly modified version of HttpProtocolHandler that 
> ships with MINA (no external code is involved).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to