bitfasterbitfasterCommunityยท3 Agent Skills Included

BitFaster.Caching

High-performance thread-safe caching library for .NET applications

Provides fast, thread-safe in-memory caching primitives for .NET, including LRU and LFU caches with bounded size. Eliminates cache stampedes, lock contention, and unbounded memory growth in high-traffic applications. Includes benchmark and assembly-dump skills so agents can measure and compare code performance across branches.
npx skills add bitfaster/BitFaster.Caching --all -g -y
Available:

Instructs the AI agent to preserve performance-first design, keep public API changes additive, run dotnet format after code edits, and follow strict unit test naming conventions.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install BitFaster.Caching?โ–ผ

Run `npx skills add bitfaster/BitFaster.Caching --all -g -y` in your terminal to install all skills in this suite globally.

What is the fastest thread-safe cache for .NET?โ–ผ

BitFaster.Caching offers ConcurrentLru and ConcurrentLfu, drop-in replacements for ConcurrentDictionary with bounded size, high throughput, and near-optimal hit rates.

How to prevent cache stampede in .NET?โ–ผ

Use the library's configurable atomic value factory, which ensures only one thread computes a missing value while others wait.

Can AI agents benchmark .NET code changes?โ–ผ

Yes. The included skills let your agent run BenchmarkDotNet benchmarks, dump assembly output, and diff results between git branches.

Does BitFaster.Caching support time-based expiration?โ–ผ

Yes. ConcurrentTLru supports time-based eviction policies such as expire-after-write and expire-after-access.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’