-
Apache HttpCore 4.0 (GA) released (16 messages)
- Posted by: Oleg Kalnichevski
- Posted on: March 05 2009 11:22 EST
Apache HttpComponents project announces the first stable (GA) release of HttpCore 4.0. HttpCore is a set of low level HTTP transport components that can be used to build custom client and server side HTTP services with a minimal footprint. HttpCore supports two I/O models: blocking I/O model based on the classic Java I/O and non-blocking, event driven I/O model based on Java NIO. The blocking I/O model may be more appropriate for data intensive, low latency scenarios, whereas the non-blocking model may be more appropriate for high latency scenarios where raw data throughput is less important than the ability to handle thousands of simultaneous HTTP connections in a resource efficient manner. Several popular open-source projects already employ HttpCore as the HTTP protocol engine for their HTTP transport implementations. Some notable examples are Apache Synapse Enterprise Service Bus (ESB) and Limewire peer-to-peer file sharing (P2P) client. Base module of HttpCore has also been included into the Google Android platform. HttpCore also serves as a foundation for Apache HttpClient 4.0. HttpCore API tutorial can be found here Code samples can be found hereThreaded Messages (16)
- Performance Measurements by Niall Gallagher on March 05 2009 12:08 EST
- Re: Performance Measurements by Oleg Kalnichevski on March 05 2009 15:02 EST
-
Re: Performance Measurements by Asankha Perera on March 05 2009 04:34 EST
- Re: Performance Measurements by Niall Gallagher on March 05 2009 04:46 EST
-
Which framework to use? by David Peterson on September 02 2009 09:57 EDT
- Response would be XML by David Peterson on September 02 2009 10:41 EDT
-
Re: Performance Measurements by Asankha Perera on March 05 2009 04:34 EST
- Re: Performance Measurements by Oleg Kalnichevski on March 05 2009 15:02 EST
- HttpClient release by Time PassX on March 05 2009 13:31 EST
- Re: HttpClient release by Oleg Kalnichevski on March 05 2009 15:06 EST
- Apache Mina Asyncweb by R Zo on March 06 2009 07:11 EST
- Re: Apache Mina Asyncweb by Oleg Kalnichevski on March 06 2009 12:28 EST
- Re: Apache Mina Asyncweb by Niall Gallagher on March 06 2009 01:14 EST
- +1 for httpcore by Adrian Cole on March 15 2009 10:06 EDT
- Re: Apache Mina Asyncweb by Oleg Kalnichevski on March 06 2009 12:28 EST
- Re: Apache HttpCore 4.0 (GA) released by Gordon Ko on June 12 2009 15:23 EDT
- apache by club stork on April 10 2013 03:32 EDT
- Apache by Matt Coleman on April 15 2013 02:56 EDT
-
Performance Measurements[ Go to top ]
- Posted by: Niall Gallagher
- Posted on: March 05 2009 12:08 EST
- in response to Oleg Kalnichevski
Have any performance comparisons been made with other frameworks or servers? If not have any benchmarks been performed for the server framework? -
Re: Performance Measurements[ Go to top ]
- Posted by: Oleg Kalnichevski
- Posted on: March 05 2009 15:02 EST
- in response to Niall Gallagher
Apache Synapse folks ran extensive performance tests and appeared quite pleased with the results. Oleg -
Re: Performance Measurements[ Go to top ]
- Posted by: Asankha Perera
- Posted on: March 05 2009 16:34 EST
- in response to Oleg Kalnichevski
Apache Synapse folks ran extensive performance tests and appeared quite pleased with the results/blockquote> Yes, as an ESB we need to support thousands of concurrent connections, with a much smaller and limited thread pool of workers - since we have to wait for external services to reply. The NIO framework of HttpComponents has been easy to learn and use, and performs exceptionally well for our scenarios. In addition, since HttpCore/NIO does not have to fully buffer complete requests into memory, we can be assured that we will never run out of memory as with some NIO frameworks. Asankha - Apache Synapse ESB Team
-
Re: Performance Measurements[ Go to top ]
- Posted by: Niall Gallagher
- Posted on: March 05 2009 16:46 EST
- in response to Asankha Perera
Hi, Just out of interest, what NIO frameworks would cause such a memory issue? I am interested in this area as I extensively use async NIO HTTP libraries. Thanks -
Which framework to use?[ Go to top ]
- Posted by: David Peterson
- Posted on: September 02 2009 09:57 EDT
- in response to Asankha Perera
I would like to leverage a super fast http framework. Probably the simplest way to think about this is an auction. I'd like to send the same request (http-GET) out to a couple of dozen bidders. I'd like to collect their on-time responses (late responses would automatically lose). I'd be doing this hundreds of times a second w/ a 50msecs response time limit. Obviously I'd need persistent connections. Should I write my application to NIO Http Core framework? Synapse? Something else? Thanks. D -
Response would be XML[ Go to top ]
- Posted by: David Peterson
- Posted on: September 02 2009 10:41 EDT
- in response to David Peterson
The response would be XML format. We use Jibx for serialization/deserializtion. Not sure if that makes a difference. Currently we're using Glassfish 2 (considering v3) + Grizzly connector. Seeing interesting things going on with SimpleFramework and Synapse. -
HttpClient release[ Go to top ]
- Posted by: Time PassX
- Posted on: March 05 2009 13:31 EST
- in response to Oleg Kalnichevski
Cool! Does this mean a final release of HttpClient is not far behind? -
Re: HttpClient release[ Go to top ]
- Posted by: Oleg Kalnichevski
- Posted on: March 05 2009 15:06 EST
- in response to Time PassX
The only major thing that blocks the first GA release of HttpClient 4.0 is documentation. The sooner documentation is completed, the sooner HttpClient 4.0 can be released. Oleg -
Good news[ Go to top ]
- Posted by: Dirk Fr
- Posted on: March 05 2009 16:03 EST
- in response to Oleg Kalnichevski
We are really looking forward to get online with HTTP Client 4 final release -
Apache Mina Asyncweb[ Go to top ]
- Posted by: R Zo
- Posted on: March 06 2009 07:11 EST
- in response to Oleg Kalnichevski
Hi, How does HttpCore compare to the apache mina asyncweb project ? -
Re: Apache Mina Asyncweb[ Go to top ]
- Posted by: Oleg Kalnichevski
- Posted on: March 06 2009 12:28 EST
- in response to R Zo
Hi,
Asyncweb is a competing project within ASF, so I do not think it would be appropriate for me to comment on it, as I have plenty of critical things to say. It would be probably more appropriate if you evaluated both products and formed your own independent opinion about them. Oleg
How does HttpCore compare to the apache mina asyncweb project ? -
Re: Apache Mina Asyncweb[ Go to top ]
- Posted by: Niall Gallagher
- Posted on: March 06 2009 13:14 EST
- in response to Oleg Kalnichevski
Other similar frameworks are Simple [1] and Grizzly [2]. Simple is by far faster than AsyncWeb and from a glance at the tutorials is just as easy, if not easier to use. [1] http://www.simpleframework.org [2] http://grizzly.dev.java.net Performance of Simple against AsyncWeb. http://www.simpleframework.org/performance/comparison.php -
+1 for httpcore[ Go to top ]
- Posted by: Adrian Cole
- Posted on: March 15 2009 22:06 EDT
- in response to Oleg Kalnichevski
great job. I'm up an working with httpcore nio 4 with only javadoc and examples as a guide. -Adrian Cole -
Re: Apache HttpCore 4.0 (GA) released[ Go to top ]
- Posted by: Gordon Ko
- Posted on: June 12 2009 15:23 EDT
- in response to Oleg Kalnichevski
Just download the httpcore and try to write some sample program. What I found out is there is no way to have client add cookies. Did I miss something? Or I have to use HTTPClient to implement it Thanks -
apache[ Go to top ]
- Posted by: club stork
- Posted on: April 10 2013 03:32 EDT
- in response to Oleg Kalnichevski
i must admit this is a better version than the previous one stork club newsreel -
Apache[ Go to top ]
- Posted by: Matt Coleman
- Posted on: April 15 2013 02:56 EDT
- in response to Oleg Kalnichevski
Apache has been on the top at their game buffalo freelance website designer