Libraries that provide caching facilities.

Newest releases

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

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

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

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

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

sillygod This is a http cache plugin for caddy 2.

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

pomerium Distributed cache with gossip peer membership enrollment

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

adelowo OneCache - A Go caching Library Installation Supported stores Examples Installation $ go get -u Supported cache stores InMemory Filesystem Memcached

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

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

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

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