Skip to main content

Crate common_cache

Crate common_cache 

Source
Expand description

Shared memory cache primitives with native asynchronous load deduplication.

Modules§

cache 🔒
metrics

Structs§

Cache
A weighted memory cache with backend-provided asynchronous load deduplication. Values should be inexpensive to clone, such as Arc<T> or Bytes. Capacity is maintained asynchronously; insertion does not guarantee retention.

Enums§

RemovalCause
Reason for releasing an entry from the cache.