Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement time-to-live (TTL) eviction in DiskMemoryPersistenceStack #168

Open
p4checo opened this issue Oct 2, 2018 · 0 comments
Open

Comments

@p4checo
Copy link
Member

p4checo commented Oct 2, 2018

Even though we intend to break our DiskMemoryPersistenceStack into smaller, more specialized persistence stacks/stores, we should implement a TTL mechanism on the Disk persistence, so that items can be evicted if they are older than X amount of time.

This is useful so that we don't have to just rely on the less frequently used (last accessed time) to evict stale items from the cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant