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@jboss.org
twitter.com/maniksurtani

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