[infinispan-dev] storeAsBinary keeps both the object and the byte[] - why?

Manik Surtani msurtani at redhat.com
Mon Aug 5 12:33:32 EDT 2013


On 18 Jul 2013, at 13:44, Mircea Markus <mmarkus at redhat.com> wrote:

> Can anybody think of some reasons why the value is kept twice? I mean besides optimising for local gets, which I think is not a good enough reason given the potentially huge memory consumption and the complexity added.

It is just to optimise for local GETs and GETs which hit L1.

--
Manik Surtani






More information about the infinispan-dev mailing list