Caches

Data stores with expiring records, in-memory distributed data stores, or in-memory subsets of file-based databases.

groupcache13K

Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

BigCache7.7K

Efficient key/value cache for gigabytes of data.

GCache2.6K

Cache library with support for expirable Cache, LFU, LRU and ARC.

gocache2.5K

A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.

fastcache2.2K

fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.

cache2go2.1K

In-memory key:value cache which supports automatic invalidation based on timeouts.

otter1.8K

A high performance lockless cache for Go. Many times faster than Ristretto and friends.

ttlcache983

An in-memory cache with item expiration and generics.

sturdyc601

A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant.

EchoVault436

Embeddable Distributed in-memory data store compatible with Redis clients.

cachego369

Golang Cache component for multiple drivers.

theine284

High performance, near optimal in-memory cache with proactive TTL expiration and generics.

pocache216

Pocache is a minimal cache package which focuses on a preemptive optimistic caching strategy.

cache188

In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.

bcache157

Eventually consistent distributed in-memory cache Go library.

go-cache142

A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.

imcache123

A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding.

go-mcache97

Fast in-memory key:value store/cache library. Pointer caches.

timedmap72

Map with expiring key-value pairs.

couchcache64

RESTful caching micro-service backed by Couchbase server.

clusteredBigCache45

BigCache with clustering support and individual item expiration.

2q42

2Q in-memory cache implementation.

icache19

A High Performance, Generic, thread-safe, zero-dependency cache package.

gdcache13

A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache.

nscache11

A Go caching framework that supports multiple data source drivers.

coherence-go-client10

Full implementation of Oracle Coherence cache API for Go applications using gRPC as network transport.

ttlcache10

In-memory key value storage with TTL for each record.

gocache9

A data race free Go ache library with high performance and auto pruge functionality