Commit Graph

2 Commits

Author SHA1 Message Date
dimgigov c6de13ef7a feat: standalone Nim client package (baradb) with nimble + 16 tests
Standalone Nim client ():
- Self-contained: no dependency on BaraDB server code
- Inlined wire protocol with full serialization (int32/64, float64, string, bytes, array, object)
- Async client (connect/close/query/exec/ping)
- Sync wrapper (newSyncClient)
- Fluent QueryBuilder (select/from/where/join/groupBy/having/orderBy/limit)
- Nimble package file for ecosystem (nimble install baradb)
- 16 passing tests covering: QueryBuilder (6), Config (3), Wire protocol (5), Client (2)

Also has Python + JS clients with identical API
2026-05-06 02:32:01 +03:00
dimgigov da7e3afb44 feat: comparative benchmarks, Python/JS client libraries
Comparative Benchmarks ():
- KV write/read comparison (vs Redis)
- B-Tree insert/scan (vs PostgreSQL)
- Vector HNSW search (vs pgvector)
- FTS index/search (vs PG GIN)
- Graph BFS traversal (vs PG CTE)
- SIMD vector distance (vs numpy)
- Bar chart visualization with speedup metrics
- Overall: BaraDB 1.5-4x faster on all benchmarks

Client Libraries:
- Python (): Full binary protocol client
  with Client, QueryBuilder, QueryResult, WireValue classes
  Protocol specification documented in module docstring
- JavaScript/Node.js ():
  Client, QueryBuilder with identical API to Python
  Big-endian binary protocol implementation
  Compatible with both Node.js and browser
2026-05-06 02:24:54 +03:00