I Built My Own Database in Java… and Learned How Databases REALLY Work 🔥

Pubblicato il: 05 novembre 2025
sul canale di: Dns Pavankumar
395
10

📜 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. 🚀


In questa pagina del sito puoi guardare il video online I Built My Own Database in Java… and Learned How Databases REALLY Work 🔥 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Dns Pavankumar 05 novembre 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 395 volte e gli è piaciuto 10 spettatori. Buona visione!