axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-761) SimpleHttpServer based on Jakarta HttpComponents HttpCore
Date Tue, 23 May 2006 12:50:30 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-761?page=comments#action_12412925 ] 

Oleg Kalnichevski commented on AXIS2-761:
-----------------------------------------

>  I'm sure it wouldn't be relevant anyway as performance is dominated by the size of the
thread pool

Agreed. I do have a hidden agenda here, though, as my main motivating factor is to gather
some empirical data to be able to optimize the HTTP transport layer.

> 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 likely to require you to write a custom version of HttpService from HttpCore which
presently built assuming one thread of execution. In your case, however, you may have to parse
request headers on a dispatch thread which in its turn can assign messages to different worker
threads based on a desired criteria such as length of incoming content, availability of threads
in thread pools or what not.

Essentially it is now up to the Axis folks to decide how to proceed further depending on whether
they want to accept the patch at all and, if so, whether they want to keep it as simple as
possible or they might want some more advanced features.

Oleg

> SimpleHttpServer based on Jakarta HttpComponents HttpCore
> ---------------------------------------------------------
>
>          Key: AXIS2-761
>          URL: http://issues.apache.org/jira/browse/AXIS2-761
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message