Hi Bob

We are using HttpCore NIO and the SSL extensions for Apache Synapse which is an ESB. The reason for us to move to NIO was similar to your case, as we cannot leave threads waiting for responses. From the performance tests we have done so far we are very happy with HttpCore. We had some issues on older SunOS 5.8 systems etc, and probably may encounter the epoll issues mentioned by Robert Olofsson. Oleg has been very supportive and was able to fix the SunOS issue etc. very quickly for us and get us other enhancements into HttpCore as well. From possible different implementations around for NIO, we tried out many - and even attempted to write our own - but soon realized that HttpCore is the best implementation one would find out there. You will notice many architectural decisions (when comparing to other implementations - e.g. streaming requests instead of reading everything into memory) and extremely good code quality in this. Also if you do decide to use HttpCore-NIO, it would help us improve it even better for your benefit and for many other projects in future.

asankha

Robert Brown wrote:
I'm considering using the latest NIO HttpCore code and I'd like
to get a rough idea of how stable it is for the use case
described below.  The basic question is: Would you feel
comfortable basing a heavily used production system on it at this
time, if you were willing to do some debugging of problems?

My application currently uses HttpClient 3.x to connect to
thousands of different HTTP servers over SSL (not all at once).
The system POSTs 4K to 10K of data to a server after
authenticating using basic auth.  The reason for considering the
switch to NIO HttpCore is to improve performance.  Under heavy
load, when the servers fielding the POSTs become slow, threads
stay blocked for too long and the system runs out of threads
doing useful work.  The current system does not stay connected to
an HTTP server between requests.  Doing so might improve things,
since some servers need to be sent many more messages than
others.

The servers fielding the POSTs are implemented using a variety of
different HTTP server software.  The program sending the POSTs is
heavily loaded.

Is the NIO HttpCore currently stable enough to try using for an
application like this?  What sort of problems am I likely to
encounter?  Thanks very much.

bob

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to