[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Jul 14, 2018. It is now read-only.

moovweb/go-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A go implemementation of Aadaptive Replacement Cache (ARC)

In performance, ARC is at least as good as LRU, and better in most real-world workloads.

The original algorithm is presented in the paper: http://www.almaden.ibm.com/cs/people/dmodha/arclogin.pdf. We adapt the algorithm to support caching objects with different memory sizes.

The original algorithm is implemented in the "classic" branch.