rubix icon indicating copy to clipboard operation
rubix copied to clipboard

Support file size based usage limits

Open lozbrown opened this issue 1 year ago • 0 comments

Currently rubix configuration only supports integer percentages for cache limits in the following configuration item

rubix.cache.usage.percentage

However when using an elastic storage like amazon EFS this presents as 8 Exabytes of available storage. Even limiting the cache usage to 1% gives us a 90 Terabyte cache which is extremely excessive.

Support limiting the cache to some number of bytes/megabytes/gigabytes and evict data when either limit is reached.

lozbrown avatar Jan 31 '24 14:01 lozbrown