💾

Key-Value Store

intermediate

Redis alternative - In-memory data structure server

Redis alternatifi - Bellek ici veri yapisi sunucusu

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

Tags

databasekey-valuecacheredis

Required Crates

Essential

tokio
Async runtime

Async runtime

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

Gomulu veritabani

crates.io →
sled = "0.34"
dashmap
Concurrent hashmap

Esanlik hashmap

crates.io →
dashmap = "6"

Starter Template

Copy this Cargo.toml to get started:

[package]
name = "my-key-value-store"
version = "0.1.0"
edition = "2021"

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

Related Patterns

Learn these patterns to build this project effectively:

Other Database & Storage Projects