Skip to content

Is it possible to share the cache capacity for multiple caches? #1249

Discussion options

You must be logged in to vote

I think you might be able to come up with something by using the Cache.policy() apis, e.g. to adjust the maximum size. I don't think there is anything the cache can do more easily or efficiently that you could not.

I believe the hard part is deciding what the correct cache sizes should be, which is usually in response to the workload and performance observed. You might consider using robinhood caching to drive the reallocations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ben-manes
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