Skip to content

Short lived near caches at scale a good or bad idea? #80

Answered by aseovic
javafanboy asked this question in Q&A
Discussion options

You must be logged in to vote

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 ;-)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by javafanboy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants