Golang LRU cache

This provides the lru package which implements a fixed-size thread safe LRU cache. It is based on the cache in Groupcache.
Information
Category: Golang / Caching
Watchers: 300
Star: 2.8k
Fork: 389
Last update: Jun 19, 2022

Related Repos



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
 
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
 
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
 
832

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 check cachetest.
 
916

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

shaj13 A Lightweight in-memory key:value cache library for Go.
 
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.
 
78

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

pomerium Distributed cache with gossip peer membership enrollment