[infinispan-dev] Hot Rod Java client and NIO

Mircea Markus mircea.markus at jboss.com
Tue Apr 24 04:25:41 EDT 2012


On 24 Apr 2012, at 01:53, Manik Surtani wrote:

> Mircea,
> 
> When you wrote the Hot Rod client, you abstracted the transport away so we could have alternate network implementations, right?  
Yes, that was the idea behind it.
> The reason I ask is that at some point we should look at not only an NIO impl (I know you had one that you experimented with some while back) but also a JDK7 NIO2 one, and benchmark the three.

Agreed. I'd expect an NIO/NIO2 client to handle much better the async requests from client to the server than the current IO client which is optimised for sync operations. 


More information about the infinispan-dev mailing list