Re: [infinispan-dev] Zero-copy buffer transfers

2013-05-23 Thread Bela Ban
maybe, but I don't know netty On 5/23/13 6:42 PM, William Burns wrote: > Bela, > > You are thinking something like Netty's composite byte buffer? > > http://netty.io/4.0/guide/#architecture.5 > > On 5/23/13 2:09 PM, Manik Surtani wrote: >> Bela, >> >> We shouldn't need to wait for NIO2/JDK7 for th

Re: [infinispan-dev] Zero-copy buffer transfers

2013-05-23 Thread William Burns
Bela, You are thinking something like Netty's composite byte buffer? http://netty.io/4.0/guide/#architecture.5 On 5/23/13 2:09 PM, Manik Surtani wrote: > Bela, > > We shouldn't need to wait for NIO2/JDK7 for this. We can do this in JDK6 as well, granted the impl may not be as good unless run on

Re: [infinispan-dev] Zero-copy buffer transfers

2013-05-23 Thread Bela Ban
On 5/23/13 2:09 PM, Manik Surtani wrote: > Bela, > > We shouldn't need to wait for NIO2/JDK7 for this. We can do this in JDK6 as > well, granted the impl may not be as good unless run on a Java7 VM. In the current NIO impl, unfortunately MulticastSockets are not supported (MulticastChannel),

[infinispan-dev] Zero-copy buffer transfers

2013-05-23 Thread Manik Surtani
Bela, We shouldn't need to wait for NIO2/JDK7 for this. We can do this in JDK6 as well, granted the impl may not be as good unless run on a Java7 VM. Do you have any notes on your designs somewhere? Cheers Manik -- Manik Surtani ma...@jboss.org twitter.com/maniksurtani Platform Architect, JB