Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTLCAche - LRU cache with TTL

Build Status Coverage Status GoDoc

TTLCache is based on the implementation design of golang's groupcache lru, with cache entry TTL control. A expired cache entry is preferred for cache eviction. When there is no expired entry, LRU principle takes effect. Cache Gets don't affect cache entry TTL.

It is thread-safe by a simple mutex lock.

About

a thread-safe LRU cache with item-wise TTL

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages