Figr AI: UX Agent for Product Teams โ Learns your product. Thinks through UX
Learns your product. Thinks through UX
Promoted
Maker
๐
Jetcache-go is a general-purpose cache access framework for Go, based on go-redis/cache. Its core features include: flexible two-level caching combinations (memory, Redis, or custom storage); a Once interface based on the singleflight pattern (highly concurrent and thread-safe); default MsgPack encoding and decoding, with optional sonic and native JSON; default local cache implementations including Ristretto and FreeCache; a default distributed cache implementation based on go-redis/v9, with custom implementations also supported; customizable errNotFound errors and the use of placeholders to prevent cache penetration; support for asynchronous refreshing of distributed caches; metrics collection (default logging of statistical metrics such as QPM, Hit, Miss, Query, and QueryFail); automatic degradation of distributed cache query failures; an MGet interface supporting the Load function, using Pipeline mode in distributed caching scenarios to improve performance; and invalidation of local caches (across all Go processes) after updates.