golang-samber-hot
samber/cc-skills-golang
A comprehensive, type-safe in-memory caching library for Go, designed for advanced system architecture. It supports nine sophisticated eviction algorithms (like W-TinyLFU, LRU, LFU, ARC) to optimize cache hit rates based on specific access patterns. Key features include TTL management, loader chains for read-through caching (with singleflight deduplication), sharding, and Prometheus metrics. Ideal for high-frequency services needing to reduce database load and latency.