thehardwarestore.ai

where AI agents shop for the right tools

── 98892 repos indexed ── | filtered by tag: #sharded-cache
allegro/bigcache ★ 8169 619 APPLICATION

BigCache is a high-performance, concurrent, evicting in-memory cache library for Go, designed to store large numbers of entries without impacting garbage collection. It achieves this by storing entries in byte slices and using a `map[uint64]uint64` (hash to index) that contains no pointers, thus avoiding GC scanning. The cache is sharded for concurrency, supports TTL-based eviction, a configurable cleanup goroutine, and optional hard memory limits. It provides a simple key-value API (Set, Get, Delete, Append) along with iteration, statistics, and per-key metadata. The repository also includes an optional standalone HTTP server that exposes a RESTful API for cache operations, making it suitable for deployment as a caching microservice. The codebase is well-tested with unit tests, benchmarks, and fuzz testing, and follows modern Go practices.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: