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 a LRUCache template class #11531

Closed
pan-apple opened this issue Nov 8, 2021 · 2 comments
Closed

Implement a LRUCache template class #11531

pan-apple opened this issue Nov 8, 2021 · 2 comments
Labels
stale Stale issue or PR V1.X

Comments

@pan-apple
Copy link
Contributor

Problem

Need a template class that can be used for caching DNS, CASE Resumption and other similar entries. The following is a list of expected features.

  1. Contains a list of cached entries
  2. Add/Remove/Lookup entries
  3. Configurable maximum size of cache
  4. Evict oldest entries from cache if its full and a new entry gets added to it
  5. The cache could be persisted in storage, or loaded from storage on specific triggers
  6. Unit tests for various use-cases of the cache
@stale
Copy link

stale bot commented Jun 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Jun 4, 2022
@stale
Copy link

stale bot commented Jun 12, 2022

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or PR V1.X
Projects
None yet
Development

No branches or pull requests

2 participants