Skip to content

Add bulk SetAsync method to pre-populate cache #274

Description

@noliver818

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions