dimgigov b0a760c0ab feat: schema inheritance, codegen, replication, mmap — 136 tests
Schema:
- Inheritance: multi-level, property merging, override, isSubtype
- Computed properties with expressions
- getSubtypes for polymorphic queries

Codegen:
- IR plan → storage operations compilation
- Predicate pushdown optimization (filter → point read)
- Cost estimation and EXPLAIN output

Replication:
- Sync replication (wait for all replicas)
- Async replication (fire and forget)
- Semi-sync (wait for N replicas)
- Replica state tracking and lag monitoring

Storage:
- Memory-mapped I/O for SSTable access
- Sequential/random access hints (madvise)
- Page-level read operations

29 new tests (136 total, all passing)
2026-05-06 01:23:28 +03:00
S
Description
BaraDB - multimodal database engine written in Nim — 100% native, zero dependencies. BaraDB combines document, graph, vector, columnar, and full-text search storage in a single engine with a unified query language (BaraQL). It compiles to a single 3.3MB binary with no runtime dependencies.
BSD-3-Clause 12 MiB
Languages
HTML 60.7%
Nim 35%
JavaScript 1.8%
TLA 0.9%
Python 0.8%
Other 0.7%