Implement in-memory key/value store #3

Open
opened 2026-06-28 19:24:10 +02:00 by bitwise · 0 comments
Owner

Implement the in-memory key/value store

  • Create Entry struct with value and optional expires_at
  • Wrap HashMap in Arc<Mutex<>>
  • Implement get, set, delete methods with lazy expiry checks
  • Implement active expiry background task with tokio::spawn
Implement the in-memory key/value store - [ ] Create Entry struct with value and optional expires_at - [ ] Wrap HashMap in Arc<Mutex<>> - [ ] Implement get, set, delete methods with lazy expiry checks - [ ] Implement active expiry background task with tokio::spawn
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bitwise/Rustdis#3
No description provided.