Short lived near caches at scale a good or bad idea? #80
-
Is there anything in the Coherence architecture or implementation that makes it a bad idea to have relatively short lived near caches (I am here talking about life times from perhaps tens of minutes to say a day)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The cost on the storage members will be limited to the cost to register and unregister event listeners used by the near cache, so it shouldn't be significant. Of course, there is also the cost to dispatch invalidation events based on the chosen invalidation strategy, but that has more to do with how many near caches you have at any given time, not so much with how long they are around for. Hundreds should be fine, thousands may be ok, 100s of thousands or more is probably too many ;-) |
Beta Was this translation helpful? Give feedback.
The cost on the storage members will be limited to the cost to register and unregister event listeners used by the near cache, so it shouldn't be significant. Of course, there is also the cost to dispatch invalidation events based on the chosen invalidation strategy, but that has more to do with how many near caches you have at any given time, not so much with how long they are around for.
Hundreds should be fine, thousands may be ok, 100s of thousands or more is probably too many ;-)