axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Williams (JIRA)" <>
Subject [jira] Commented: (AXIS2-761) SimpleHttpServer based on Jakarta HttpComponents HttpCore
Date Tue, 23 May 2006 09:16:30 GMT
    [ ] 

Chuck Williams commented on AXIS2-761:


I don't have a good quantitative comparison of before and after, plus I'm sure it wouldn't
be relevant anyway as performance is dominated by the size of the thread pool.  When I doubled
SimpleHttpServer.minThreads from 25 to 50, performance more than doubled.  There is already
a huge benefit from your new http layer because the unnecessary copying/buffering of incoming
messages is gone.  The large messages are streamed through my application processing, so eliminating
this copying in the http layer is a big factor in boith performance and memory utilization
(which translates directly to the supportable size of the thread pool and therefore to cpu

The http server seems to be solid so far.  What's needed now, at least in my app,. is the
layer on top to manage threads for performance and priority of messages.  This is important
because the small messages need to get through even if there is a backlog of large messages.
 A single large message could consume all available memory, while as the stat above shows,
for more normal large messages at least 50 need to be processed simultaneously to achieve
good cpu utilization on a dual-processor machine.  So the thread pool management needs to
be dynamic.  I beleive this control mechanism will be the primary performance determinant.

> SimpleHttpServer based on Jakarta HttpComponents HttpCore
> ---------------------------------------------------------
>          Key: AXIS2-761
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement

>   Components: transports
>     Versions: 1.0
>     Reporter: Oleg Kalnichevski
>  Attachments: jakarta-httpcore-4.0-20060521.jar, simplehttpserver.patch
> The following patch replaces the SimpleHttpServer implementation based on the testing
framework of Commons HttpClient 3.x with a one based on Jakarta HttpComponents HttpCore. Compiled
against Axis2 trunk and HttpCore trunk
> * Removes all references to Commons HttpClient classes
> * Enables streaming of schema definitions and similar content
> * Improves content buffering of SOAP response 
> * Improves handling of fault conditions and exception handling
> * Fixes a number of NPEs in AxisEngine
> * Improves performance and reliability of the HTTP transport

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message