Hi guys,

I'd like to a have a clarification about the ConcurrentStringMap (CSM)
implementation and behavior in a well-partitioned scenario.

Let's say I have a CSM using String objects for both keys and values:
the map may have thousand (maybe million) values, but every L1 node
reads/writes only a subset of all values, thanks to some kind of
partitioning strategy.
Now my questions:
- Are *all* values kept in memory on *every* L1 node, even if each
node reads/writes only a subset of?
- Does the L1 node eventually flush unused values to the L2, or does
it risk to go out of memory?
- Given that String are literal values and seems not to be partially
loaded, would it be different if string values were wrapped into some
kind of holder object?

Thanks,
Cheers,

Sergio B.

-- 
Sergio Bossa
Software Passionate and Open Source Enthusiast.
Blog : http://sbtourist.blogspot.com
Pro-Netics : http://www.pronetics.it
Sourcesense : http://www.sourcesense.com
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to