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 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), only DatagramChannels, so I couldn't > implement multicasting, only TCP this way. > > >> Do you have any notes on your designs somewhere? > > Not really, but some JIRAs (se below). The main idea is that JGroups > passes a list of buffers directly to the socket which then creates > packets by writing them in sequence (gathering writes). One of the > buffers will be the buffer passed by Infinispan to JGroups; JGroups then > doesn't copy it into one single larger buffer, but passes it directly to > the socket, avoiding a copy. > > - https://issues.jboss.org/browse/JGRP-815 > - https://issues.jboss.org/browse/JGRP-809 > - https://issues.jboss.org/browse/JGRP-816 > > > > -- > Bela Ban, JGroups lead (http://www.jgroups.org) > _______________________________________________ > infinispan-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/infinispan-dev > _______________________________________________ > infinispan-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/infinispan-dev >
-- Bela Ban, JGroups lead (http://www.jgroups.org) _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
