hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject [HttpCore] example of a reverse HTTP proxy based on HttpCore NIO
Date Tue, 22 May 2007 21:34:01 GMT

I developed a sample application demonstrating how HttpCore NIO can be
used to put together a simple reverse HTTP proxy, which nonetheless can
handle an arbitrary number of simultaneous connections with as little as
two I/O threads.

This reverse proxy combines asynchronous, event-driven I/O model with a
low, nearly constant memory footprint. Connections allocate I/O buffers
only once at the initialization time and do not require any additional
memory regardless of the content length being transferred. Such
architecture can potentially be very scalable and resilient to out of
memory conditions at the same time.

Source code can be found here:


As always, code reviews, comments, ideas or critique will be greatly


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

View raw message