This content has been marked as final.
Show 2 replies
-
1. Re: Use-case to have a distributed mode cache with with FileStore
galder.zamarreno Nov 30, 2010 11:22 AM (in response to gupabhi)The reason for entrySet only showing the local available entries is for efficiency. In distribution, you could have several gigs spread in between diff nodes, you would not want to pull all those entries to a node where entrySet is called since it'd be slow and could lead to OOME.
Not sure how you're loading things, but preloading in particular happens in a local way, so instances are not distributed when preloaded. If you load them lazily, I think they'd spread.
-
2. Re: Use-case to have a distributed mode cache with with FileStore
manik Dec 17, 2010 10:31 AM (in response to galder.zamarreno)Loading them lazily is definitely the better option.