Skip to content

zhenweijia/cache-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache in rs

Description

This is a simple cache implementation in Rust. It is a learning project for me to get to know the language and its ecosystem.

this library includes

  • a simple cache (pure hash map)
  • a lru cache (double linked list + hash map)
  • a ttl cache (delete expired entries on read, periodically may too heavy for rust, but we could use grean thread to do it)
  • a concurrent safe cache (use RwLock to wrap the cache)

About

This is a simple cache implementation in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages