MarshalledValue is already caching the "size when serialized" to
properly dimension output buffers. This value can be reused..
On 31 January 2012 11:09, Manik Surtani <manik(a)jboss.org> wrote:
On 31 Jan 2012, at 11:06, Mircea Markus wrote:
..or keep the in-memory data in serialized form (byte[]) - that can be
counted - and add an empiric factor (TBD) for the harness/ISPN structure
that holds the data. AFAIK coherence does this.
I believe this is our beset bet. We already recommend storing serialised
forms when using DIST so thats easy.
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev