Skip to content

rahulbharuka/lru-ttl-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LRU TTL Cache Library

This project implements an in-memory Least Recently Used (LRU) and Time To Live (TTL) based cache library to store (key, value) objects for faster retrieval.


Features

  • Fast storage and retrieval.
  • Efficient replacement based on LRU eviction policy when trying to insert in a full cache.
  • Expiry of cache entries based on TTL value specified at time of cache insert.
  • Extensible to support other eviction policies.

About

A simple LRU TTL cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages