Caching

Libraries that provide caching facilities.

Newest releases
2.1k

hashicorp This provides the lru package which implements a fixed-size thread safe LRU cache. It is based on the cache in Groupcache.
 
24

storozhukBM PCache Cache that tries to keep data local for the goroutine and reduce synchronization overhead but keep it is safe for concurrent use.
 
30

sillygod This is a http cache plugin for caddy 2.
 
80

tidwall tinylru A fast little LRU cache. Getting Started Installing To start using tinylru, install Go and run go get: $ go get -u github.com/tidwall/tinylru This will retrieve the library.
 
78

pomerium Distributed cache with gossip peer membership enrollment
 
105

tidwall Doppio is a fast LRU cache on top of Ristretto, Redcon, and Evio. Support for the Redis protocol.
 
756

eko Gocache Guess what is Gocache? a Go cache library. This is an extendable cache library that brings you a lot of features for caching data. Overview Here is what it brings in detail: ✅ Mult
 
2.7k

dgraph-io Ristretto Ristretto is a fast, concurrent cache library using a TinyLFU admission policy and Sampled LFU eviction policy. The motivation to build Ristretto comes from the need for a contention-free cache in Dg
 
100

seaguest cache A lightweight high-performance distributed two-level cache (in-memory + redis) with loader function library for Go. This is a cache-aside pattern implementation for two-level cache, it does support multiple cache
 
33

tidwall lru A simple and efficient lru cache package for Go. Under the hood it uses a hashmap combined with a doubly linked list. Getting Started Installing To start using lru, install Go and run go ge
 
400

grandecola bigqueue bigqueue provides embedded, fast and persistent queue written in pure Go using memory mapped (mmap) files. Installation go get github.com/grandecola/bigqueue Requirem
 
995

VictoriaMetrics fastcache - fast thread-safe inmemory cache for big number of entries in Go Features Fast. Performance scales on multi-core CPUs. See benchmark results below. Thread-safe. Concurrent goroutines may
 
98

mercari go-dnscache go-dnscache is a Go package for caching DNS lookup results in memory. It asynchronously lookups DNS and refresh results. The main motivation of this package is to avoid too much DNS lookups for every requ
 
358

NVIDIA AIStore: scalable storage for AI AIStore (AIS for short) is a built from scratch, lightweight storage stack tailored for AI apps. At its version 2.x, AIS consistently shows balanced I/O distribution across arbitrary
 
345

kasvith kache A simple and a flexible in memory cache What is kache kache aims to develop a redis compatible in memory db with golang. Currently kache is powered up with RESP Protocol. kache also supports
 
164

captain-me0w vegamcache vegamcache is a distributed in-memory cache built using gossip protocol for golang. what is the difference between other distributed cache service? In vegamcache, network calls are not used for re
 
60

OrlovEvgeny MCache library go-mcache - this is a fast key:value storage. Its major advantage is that, being essentially a thread-safe . map[string]interface{} with expiration times, it doesn't need to serialize, and quick
 
143

huntsman-li go-cache This project encapsulates multiple db servers, redis、ledis、memcache、file、memory、nosql、postgresql example package main import ( "github.com/huntsman-li/go-cache" _ "github.com/huntsman-li/go-cache/redis" )
 
144

kevburnsjr Microcache A non-standard HTTP cache implemented as Go middleware. HTTP Microcaching is a common strategy for improving the efficiency, availability and response time variability of HTTP web services. These benefit
 
69

SphereSoftware objstore A Multi-Master Distributed Caching Layer for Amazon S3 This project aims to provide an easy to use, self-organising multi-master caching layer for various cloud stoarge backends, e.g. S3. It combines functio
 
115

adelowo OneCache - A Go caching Library Installation Supported stores Examples Installation $ go get -u github.com/adelowo/onecache Supported cache stores InMemory Filesystem Memcached
 
368

goburrow Mango Cache Partial implementations of Guava Cache in Go. Supported cache replacement policies: LRU Segmented LRU (default) TinyLFU (experimental) The TinyLFU implementation is inspired by Caffeine by Ben
 
12

danilobuerger autocert-s3-cache AWS S3 cache for acme/autocert written in Go. Example cache, err := s3cache.New("eu-west-1", "my-bucket") if err != nil { // Handle error } m := autocert.Manager{ Prompt: au
 
3.2k

coocood FreeCache - A cache library for Go with zero GC overhead and high concurrent performance. Long lived objects in memory introduce expensive GC overhead, With FreeCache, you can cache unlimited number of objects in memory
 
128

melihmucuk geocache geocache is an in-memory cache that is suitable for geolocation based applications. It uses geolocation as a key for storing items. You can specify range on initialization and thats it! You can store any obj