Expand description

The waitcache crate provides the WaitCache type, an ever-growing concurrent hash map with key-level locking granularity. A hash map of this kind is useful for memoizing highly expensive functions, such as those requiring disk or network accesses. Unlike other cache implementations, WaitCache only ever resolves a value once, preventing expensive computations from duplicating work.

License

waitcache is licensed under the terms of the Mozilla Public License, v. 2.0. All Source Code Forms are “Incompatible With Secondary Licenses”, as described in §3.3 of the license.

Development

waitcache is developed at GitLab and built on the dashmap concurrent hash map and the waitcell synchronous future.

Modules

Iterator types for WaitCache.

Structs

A concurrent, ever-growing hash map with key-level lock granularity.