Caching

Libraries that provide caching facilities.

Newest releases

dboslee LRU Cache A simple LRU cache using go generics. Examples Basic usage. func main() { cache := lru.New[string, string]() cache.Set("key", "value
 

cem-basaranoglu jarjarbinks This service has two different endpoints that are only used to save cache entry and find the saved entry with the relevant key. The cache
 
11

gozeloglu cache cache is LRU-based cache package written in vanilla Go - with no package dependency. LRU stands for Least Recently Used and it is one of the fam
 
22

alecthomas Local file-based atomic cache manager I repeatedly find myself writing partitioned keyed caching systems, akin to Go's module cache. To DRY myself I c
 
15

Code-Hex go-generics-cache go-generics-cache is an in-memory key:value store/cache that is suitable for applications running on a single machine. This in-memor
 
52

cshum HybridCache A multi-level cache library with cache stampede prevention for Go import "github.com/cshum/hybridcache" // Redis cache adapter based on R
 
831

xssed 🦉owlcache is a lightweight, high-performance, non-centralized, distributed Key/Value memory-cached data sharing application written by Go . keyword : golang cache、go cache、golang nosql
 
26

vmihailenco This benchmark compares cache algorithms using scrambled zipfian distribution (a few occur very often while many others occur rarely). Other distributions are supported too, but they produce similar results. You may also want to c
 
122

shaj13 A Lightweight in-memory key:value cache library for Go.
 
907

karlseguin CCache is an LRU Cache, written in Go, focused on supporting high concurrency.
 
2.8k

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.
 
73

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

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.
 
95

pomerium Distributed cache with gossip peer membership enrollment
 
115

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

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
 
3.9k

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
 
115

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
 
35

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
 
429

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
 
1.5k

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
 
111

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
 
597

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
 
346

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
 
168

poonai 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
 
82

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
 
149

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" )
 
149

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
 
73

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
 
127

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

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