📜 YouTube Description:
Ever wondered how databases actually work behind the scenes?
Instead of just reading about it, I decided to build one from scratch — in Java.
Meet MilletDB, a lightweight, concurrent, in-memory key–value store I built to explore how systems like Redis handle caching, concurrency, and persistence.
No frameworks. No libraries. Just pure Java code and curiosity.
In this video, I’ll walk you through how I implemented:
O(1) LRU Cache (fast data access)
Thread-safe concurrency using locks and sharding
TTL-based expiry and background cleanup
Snapshot persistence to save in-memory data
and even a terminal-based CLI for real-time interaction
This project taught me how databases really think — and now, I want to show you.
💾 Project on GitHub: https://github.com/dnspavankumar/Mill...
📚 Tech used: Java 17, Maven, JMH, Multithreading, System Design
🧠 Keywords: #Java #SystemDesign #Database #Concurrency #LRUCache
If you’re into backend systems, distributed design, or just love understanding how tech works under the hood — this one’s for you. 🚀