[infinispan-dev] Let me understand DIST

Manik Surtani manik at jboss.org
Thu Mar 15 11:25:25 EDT 2012


On 15 Mar 2012, at 04:31, Bela Ban wrote:

> If we touch a lot of keys, then sending *all* of the keys to all owners 
> may be sub-optimal; as an optimization, we may want to send only the 
> keys to the nodes which need to store them. This would make the PREPARES 
> potentially much smaller.


Not really - if we are sending different prepares to different nodes (containing different writes) then the serialisation overhead goes up since each recipient gets a different byte buffer.  In the current case we reuse the byte buffer.
--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20120315/805bfcee/attachment.html 


More information about the infinispan-dev mailing list