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

Add bulk SetAsync method to pre-populate cache #274

Open
noliver818 opened this issue Mar 28, 2024 · 0 comments
Open

Add bulk SetAsync method to pre-populate cache #274

noliver818 opened this issue Mar 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@noliver818
Copy link

Cache entries can only be set one item at a time

By adding an option to insert multiple items at one time, significant performance gains can be had by avoid the overhead and round-trip to a remote service. I'm thinking specifically of seeding or updating Redis in bulk. Using SetAsync in the library today is prohibitively expensive from a wall-clock perspective.

Background services would use this to seed the cache in the background for new hosts that spin up

We would deploy scheduled AWS Lambda and/or Azure Functions to insert bulk updates.

@noliver818 noliver818 added the enhancement New feature or request label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant