On 13.03.2010 18:59, Oleg Kalnichevski wrote: > Ken Krugler wrote: >> Hi Todor, >> > > ... > >> >> I was hoping it might be related to nio vs. threaded approaches to >> HTTP handling. >> >> There's been a lot of debate about the value (performance, simplicity, >> resource consumption) but I haven't seen much head-to-head comparison >> where the rest of the implementation is roughly comparable. If you >> ever get any comparison numbers, I'd love to see them. >> >> -- Ken >> > > I have made a number of tests comparing HttpCore blocking vs HttpCore > NIO vs Jetty blocking vs Jetty NIO. The results and the link to the > source code can be found here: > > http://wiki.apache.org/HttpComponents/HttpCoreBenchmark
So NIO seems to be about 2 times slower than blocking I/O. What was the number of concurrent connections used? Seems the benefit of NIO is not it's speed but simply the ability to maintain 10,000 concurrent connections at a time. -- Todor > > Oleg > > > > --------------------------------------------------------------------- > 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]
