Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Limit number of items in memory cache #325

Closed
@JunTaoLuo

Description

@JunTaoLuo

We need to add an optional count limit on the memory cache to ensure a there is a maximum limit on the memory use of MemoryCache. When the count limit is reached, we will trim a percentage of the items in the cache (we have used 10% in the past).

cc @muratg @Eilon

Post 2.0 we plan to include a size hint to the memory cache and design more extensible eviction policies.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions