💾

Cache Layer

intermediate

Memcached alternative - Distributed caching

Memcached alternatifi - Dagitik onbellekleme

Estimated Time
⏱️ 1-2 months
Essential Crates
📦 3

Tags

cachedistributedmemorylru

Required Crates

Essential

dashmap
Concurrent hashmap

Esanlik hashmap

crates.io →
dashmap = "6"
lru
LRU cache

LRU onbellek

crates.io →
lru = "0.12"
tokio
Async runtime

Async runtime

crates.io →
tokio = { version = "1", features = ["full"] }

Starter Template

Copy this Cargo.toml to get started:

[package]
name = "my-cache-layer"
version = "0.1.0"
edition = "2021"

[dependencies]
dashmap = "6"
lru = "0.12"
tokio = { version = "1", features = ["full"] }
thiserror = "1"
tracing = "0.1"

Related Patterns

Learn these patterns to build this project effectively:

Other Database & Storage Projects