Thriving Thriving Python PY
↑ 48 ?
IgnisDB buraksocial/IgnisDB

IgnisDB is a key-value database built from scratch in Python. v2 introduces a Log-Structured Merge Tree (LSM-Tree) storage engine that keeps RAM usage fixed at 64–128 MB regardless of dataset size, while providing unlimited disk-backed storage.

HEALTH ? 73 / Stable
// solo builder// hidden gem ?

// readme

🔥 IgnisDB v2: LSM-Tree + Tiered Storage Database

High-performance key-value database with LSM-Tree storage engine, tiered caching, and unlimited storage capacity — all in pure Python.

What is IgnisDB?

IgnisDB is a key-value database built from scratch in Python. v2 introduces a Log-Structured Merge Tree (LSM-Tree) storage engine that keeps RAM usage fixed at 64–128 MB regardless of dataset size, while providing unlimited disk-backed storage.

It supports two modes:

  • Embedded: Direct API calls, zero network overhead
  • Server: RESP protocol TCP server, backward compatible with v1 clients

Performance Benchmarks

Benchmarked on Linux x86_64, 100K keys × 100 bytes each:

MetricResult
Write throughput20,037 ops/sec
Read throughput (hot cache)857,382 ops/sec
Read throughput (sequential)963,234 ops/sec
ZADD (sorted set)1,427,362 ops/sec
ZRANGEBYSCORE6,902 ops/sec
Full-text indexing196,289 docs/sec
Full-text search15,031 searches/sec
RAM usage (100K keys)90.5 MB
Cache hit rate100%

Memory Efficiency

|…