Awesome Go

Caches

30 libraries in Database / Caches

groupcache

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

13,335DatabaseCaches
BigCache

Efficient key/value cache for gigabytes of data

8,174DatabaseCaches
ristretto

A high performance memory-bound Go cache

7,005DatabaseCaches
gocache

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

2,889DatabaseCaches
GCache

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

2,729DatabaseCaches
otter

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

2,704DatabaseCaches
fastcache

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

2,373DatabaseCaches
cache2go

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

2,151DatabaseCaches
ttlcache

An in-memory cache with item expiration and generics

1,310DatabaseCaches
sturdyc

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

1,282DatabaseCaches
EchoVault

Embeddable Distributed in-memory data store compatible with Redis clients

539DatabaseCaches
jetcache-go

Unified Go cache library supporting multi-level caching

497DatabaseCaches
theine

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

381DatabaseCaches
cachego

Golang Cache component for multiple drivers

368DatabaseCaches
pocache

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

238DatabaseCaches
bcache

Eventually consistent distributed in-memory cache Go library

164DatabaseCaches
go-cache

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

160DatabaseCaches
imcache

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

123DatabaseCaches
easycache

A simple way to use in-memory cache in Golang (TTL/FIFO/LRU/LFU)

121DatabaseCaches
go-mcache

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

107DatabaseCaches
timedmap

Map with expiring key-value pairs

75DatabaseCaches
couchcache

RESTful caching micro-service backed by Couchbase server

64DatabaseCaches
clusteredBigCache

BigCache with clustering support and individual item expiration

45DatabaseCaches
gocache

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

24DatabaseCaches
icache

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

23DatabaseCaches
coherence-go-client

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

15DatabaseCaches
nscache

A Go caching framework that supports multiple data source drivers

15DatabaseCaches
gdcache

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

14DatabaseCaches
go-gcache

The generic version of `GCache`, cache support for expirable Cache, LFU, LRU and ARC

12DatabaseCaches
ttlcache

In-memory key value storage with TTL for each record

10DatabaseCaches