Why do you need to resize it? And if you need to resize it, would it be
good enough to drop the old cache and start using a new one?
On Thu, Mar 5, 2020 at 12:54 AM Aadithya C wrote:
> Hi,
>
> We are looking at implementing a setter function to resize the
> LRUQueryCache on demand and evict the
In my personal opinion, there are a few advantages of resizing -
1) The size of the cache is unpredictable as there is a fixed(guesstimate)
accounting for the key size. With a resizable cache, we can potentially
cache heavier queries and exploratively resize the cache when faced with
memory press
On Fri, Mar 6, 2020 at 1:04 AM Aadithya C wrote:
>
> In my personal opinion, there are a few advantages of resizing -
>
>
> 1) The size of the cache is unpredictable as there is a fixed(guesstimate)
> accounting for the key size. With a resizable cache, we can potentially
> cache heavier queries a