Experimental Features in HeliosDB Nano
Experimental Features in HeliosDB Nano
Last Updated: November 23, 2025 Version: v2.1.0-dev
Overview
This document describes experimental features in HeliosDB Nano that are not production-ready but available for testing and development.
⚠️ WARNING: Experimental features may have incomplete implementations, missing tests, breaking API changes, or be removed entirely in future releases. Do NOT use in production.
sync-experimental: Sync/Replication Module
Status: 🧪 EXPERIMENTAL (65-70% Complete)
Feature Flag: sync-experimental
Target Completion: v2.2.0 (Estimated: Q1 2026)
Description
Multi-node synchronization and replication system for HeliosDB Nano, enabling:
- Offline-first mobile/edge applications
- Multi-node eventual consistency
- Bidirectional sync with conflict resolution
- HTTP/gRPC-based change propagation
Current Implementation Status
Completed Components (65-70%):
- ✅ JWT Authentication System (100%) - Production-ready with 15 tests
- ✅ Vector Clock Conflict Detection (100%) - Full causality tracking
- ✅ Offline Queue (100%) - RocksDB-backed persistent storage
- ✅ Delta Compression (100%) - Binary diff/patch framework
- ✅ Message Protocol (100%) - Complete message types
- ✅ Conflict Resolution (90%) - Last-write-wins, custom resolvers
- ✅ Sync Server (75%) - Auth complete, storage hooks missing
- ✅ Sync Client (70%) - Logic complete, network layer stubbed
Missing Components (30-35%):
- ❌ Storage Engine Integration (CDC hooks)
- ❌ HTTP/gRPC Transport Layer
- ❌ Change Log Queries
- ❌ Delta Application to Database
- ❌ End-to-End Integration Tests
Code Statistics:
- Total Lines: 2,380
- Tests: 15 passing (auth module only)
- TODO Markers: 8
How to Enable
[dependencies]heliosdb-nano = { version = "2.1", features = ["sync-experimental"] }# Build with experimental synccargo build --features sync-experimental
# Run tests (limited to completed components)cargo test --features sync-experimentalAPI Example (Incomplete)
#[cfg(feature = "sync-experimental")]use heliosdb_nano::sync::{SyncClient, SyncConfig};
#[cfg(feature = "sync-experimental")]fn example_sync() -> Result<(), Box<dyn std::error::Error>> { // Create sync client let config = SyncConfig { server_url: "https://sync.example.com".to_string(), auth_token: "jwt-token-here".to_string(), offline_queue_path: "./offline_queue".to_string(), };
let client = SyncClient::new(config)?;
// Sync database (NOT IMPLEMENTED YET) // client.sync()?;
Ok(())}Known Issues
- No Network Transport: HTTP/gRPC layer is stubbed
- No Storage Integration: CDC hooks not implemented
- Incomplete Tests: Only auth module fully tested
- API Instability: Module structure may change
- Performance Unvalidated: No benchmarks yet
Roadmap to Production
v2.2.0 (Target: Q1 2026):
- Implement HTTP/gRPC transport (1 week)
- Add storage engine CDC hooks (1 week)
- Complete change log queries (3 days)
- Implement delta application (3 days)
- Add end-to-end integration tests (1 week)
- Performance benchmarking (3 days)
- Security audit (1 week)
Estimated Effort: 4-5 weeks total
Alternatives
If you need sync/replication now, consider:
- Application-Level Sync: Implement in your application layer
- PostgreSQL Logical Replication: Use when in PostgreSQL-compatible mode
- Third-Party Tools: CouchDB, RxDB, WatermelonDB for mobile sync
- Wait for v2.2.0: Production-ready sync module planned for Q1 2026
Contributing
Contributions to complete this module are welcome! See:
- SYNC_MODULE_ANALYSIS_RECOMMENDATION.md - Full analysis
- Contributing Guide - How to contribute
- GitHub Issues - Tagged with
sync-experimental
References
- Analysis: SYNC_MODULE_ANALYSIS_RECOMMENDATION.md
- Code:
/src/sync/directory - Tests:
/tests/sync_*_tests.rs(auth only)
Future Experimental Features
simd: SIMD-Accelerated Operations
Status: 🔬 PLANNED Target: v2.3.0
SIMD-optimized vector operations for 2-5x performance improvement.
gpu-acceleration: GPU-Accelerated Training
Status: 🔬 PLANNED Target: v3.0.0
GPU-based vector quantization training for 10-100x speedup.
Stability Promise
Stable Features (Production-Ready):
- Core SQL database
- Vector search with HNSW
- Encryption (TDE)
- PostgreSQL wire protocol
- Compression (ALP/FSST)
- Time-travel queries
- Database branching
- Materialized views
Experimental Features (NOT Production-Ready):
- Sync/replication module
Deprecated Features (To Be Removed):
- None currently
Questions or Feedback?
- Bug Reports: GitHub Issues
- Feature Requests: GitHub Discussions
- Security Issues: security@heliosdb.com
Last Updated: November 23, 2025 Maintainer: HeliosDB Team License: Apache 2.0