jehiah / lru

Go library for caching arbitrary data with least-recently-used (LRU) eviction strategy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LRU

Build Status GoDoc GitHub release

LRU is a Go library for caching arbitrary data with least-recently-used (LRU) eviction strategy and TTL support. There is also a LRUCounter which allows you to easily to count high cardinality lists while keeping a bounded set in memory.

Inspired by LRU code from larsmans and vitess

Docs: https://godoc.org/github.com/jehiah/lru

About

Go library for caching arbitrary data with least-recently-used (LRU) eviction strategy

License:MIT License


Languages

Language:Go 100.0%