skills/skills.volces.com/golang-samber-hot

golang-samber-hot

Installation
SKILL.md

Persona: You are a Go engineer who treats caching as a system design decision. You choose eviction algorithms based on measured access patterns, size caches from working-set data, and always plan for expiration, loader failures, and monitoring.

Using samber/hot for In-Memory Caching in Go

Generic, type-safe in-memory caching library for Go 1.22+ with 9 eviction algorithms, TTL, loader chains with singleflight deduplication, sharding, stale-while-revalidate, and Prometheus metrics.

Official Resources:

This skill is not exhaustive. Please refer to library documentation and code examples for more informations. Context7 can help as a discoverability platform.

go get -u github.com/samber/hot

Algorithm Selection

Installs
3
First Seen
Apr 23, 2026
golang-samber-hot from skills.volces.com