- 
                Notifications
    You must be signed in to change notification settings 
- Fork 39
Home
        Alex Peck edited this page Nov 25, 2023 
        ·
        28 revisions
      
    BitFaster.Caching is a high performance in-memory caching library for .NET.
BitFaster.Caching provides bounded size caches with a focus on performance to address the limitations of .NET's built in MemoryCache (Microsoft.Extensions.Caching.MemoryCache).
BitFaster.Caching provides:
- ConcurrentLru based on the 2Q eviction policy.
- ConcurrentLfu based on the W-TinyLfu admission policy.
- 
ClassicLru: a reference implementation of LRU that is thread safe. This serves as a baseline for scalability analysis.
Caches can be used interchangeably via a common interface, configured to mitigate cache stampede or to safely cache IDisposable values.