Skip to content
F

FastCache

7x-10x faster alternative to MemoryCache

by jitbitFree

#4738in Utilities
0In stores

Description

FastCache is a thread-safe in-memory cache library for .NET developers, built as a faster alternative to Microsoft's MemoryCache. The projec…

Highlights

  • Thread-safe in-memory cache with expiration
  • Small DLL of about 8 KB
  • Benchmarks against MemoryCache and HybridCache
  • Targets .NET 6 and later

Ratings & Reviews

No ratings yet

Be the first to rate FastCache.

People also visit

N

NonBlocking

Implementation of a lock-free dictionary on .Net

Utilities
Launch
P

Phpfastcache

A high-performance backend cache system

Developer Tools
Launch
D

Downloader

Fast, cross-platform and reliable multipart downloader

Utilities
Launch
C

caching

Caching strategies for .NET 10 applications

AI Skills
Get
P

phpCacheAdmin

Web GUI for managing Redis, Memcached, APCu, OPCache and Realpath

Design
Launch
B

build-perf-baseline

Establish MSBuild/.NET build performance baselines before optimizing

AI Skills
Get

FastCache FAQ

What is FastCache?

A thread-safe in-memory cache for .NET, built as a faster alternative to Microsoft's MemoryCache. The README describes it as a ConcurrentDictionary with expiration.

Which .NET versions does it support?

The README says it is for .NET Core, specifically .NET 6 and later.

How big is the library?

The README describes it as a lightweight DLL of about 8 KB.

How much faster is it than MemoryCache?

The benchmark tables in the README show FastCache lookups and get-or-add calls well ahead of MemoryCache on Windows, Linux and macOS, with fewer allocations. Results depend on the machine and the workload, so run your own tests before relying on them.

Is it open source?

Yes. The source code is public on GitHub under the jitbit organization.

What are the best FastCache alternatives?

Popular alternatives to FastCache include NonBlocking, Downloader and DispatchR. See all FastCache alternatives

Developer Stuff

Badges