21
built from scratch in Java.
Designed for speed, simplicity, and control, Prithvi is engineered with:
TTL & LRU Cache – Automatic expiry + memory-efficient key eviction
Multi-threaded Architecture – Handles concurrent clients with zero lockups
Disk Persistence + WAL – Crash-safe with write-ahead logs and JSON dump
JWT-style Auth – Custom-built authentication layer from scratch
Rich Data Types – Strings, Lists, Sets — with native commands
Prometheus Metrics – Real-time internal observability
Custom TCP Protocol – Raw, low-latency control over operations
Official SDKs – Plug and play access for NodeJS and Python apps
Open-source, transparent, and intentionally minimal — Prithvi is a developer’s DB, built to be hacked, extended, or embedded.
Inspired by Redis, but purpose-built as a prototype that you can understand end-to-end.
Built with