corvus-dotnet / corvus-dotnet/Corvus.Storage

Determine robust cache key mechanism for BlobContainerClientFactory and CosmosContainerFactory

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, `BlobContainerClientFactory`'s `GetCacheKeyForContext` override just serializes the `BlobContainerConfiguration` to JSON as an easy way to generate a key that is guaranteed to be different if the configuration is different. This is pretty inefficient though. And it can have startup costs too, because it will load in everything required for JSON.NET serialization. (In some environments that's priced into startup costs, but not everywhere.)

We should consider doing something that has the same effect a lower cost.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.