Skip to content

HeliosDB-Lite Feature Flags

HeliosDB-Lite Feature Flags

Quick Reference

Terminal window
# Default build (encryption + vector search + ring crypto)
cargo build
# With FIPS-compliant crypto
cargo build --features fips
# With HA proxy (all proxy features)
cargo build --features ha-standard
# Everything
cargo build --features ha-full
# Sync module (experimental)
cargo build --features sync-experimental

Default Features

These are enabled by default (cargo build with no flags):

FeatureDescription
encryptionTDE (AES-256-GCM) transparent data encryption
vector-searchHNSW index, PQ compression, distance functions
ring-cryptoRing cryptographic provider (default)

Core Features (opt-in)

FeatureDescriptionDependencies
simdSIMD-accelerated vector operationsNone
fipsAWS-LC FIPS 140-2 cryptographic provideraws-lc-rs
gssapiKerberos/GSSAPI authenticationlibgssapi
rocksdb-backendRocksDB storage backend (legacy)rocksdb
sync-experimentalMulti-node sync moduleNone
serverServer-mode with async runtimeNone
test-utilsTest utilities for integration testsNone
internal-testsInternal API tests (not public)None

HA Features

Tier Hierarchy

ha-tier1 (WAL streaming replication)
└── ha-tier2 (multi-primary replication)
└── ha-branch-replication (branch-level replication)
ha-tier3 (sharding)
ha-innovations (base innovation module)
├── ha-proxy (proxy with 15 features)
├── ha-dedup (deduplication)
└── ha-ab-testing (A/B testing)

Proxy Features (all require ha-proxy)

FeatureDescription
pool-modesConnection pool modes (transaction, session, statement)
query-cacheQuery result caching at proxy level
routing-hintsSQL hint-based query routing
lag-routingLag-aware read routing to replicas
rate-limitingRequest rate limiting per connection
circuit-breakerCircuit breaker for failing backends
query-analyticsQuery analytics and slow query logging
multi-tenancyMulti-tenant isolation at proxy level
auth-proxyAuthentication proxy (LDAP, OAuth)
query-rewritingAutomatic query rewriting rules
wasm-pluginsWebAssembly plugin extension system
graphql-gatewayGraphQL API gateway
schema-routingSchema-based query routing
distribcacheDistributed caching layer

Convenience Bundles

BundleIncludes
ha-standardtier1 + tier2 + proxy + all 14 proxy features
ha-fullha-standard + tier3 + innovations + dedup + ab-testing + branch-replication

Decision Tree

Which features do I need?

Embedded database (no network)?

  • Default features are sufficient
  • Add simd for faster vector operations
  • Add fips if you need FIPS 140-2 compliance

Single-server with PostgreSQL protocol?

  • Add server for async runtime
  • Default crypto is fine for most uses

Multi-node replication?

  • ha-tier1 for primary-replica WAL streaming
  • ha-tier2 for multi-primary (adds conflict resolution)
  • ha-tier3 for horizontal sharding

Load balancer / proxy?

  • ha-proxy is the base, then add specific features:
    • ha-standard for all proxy features
    • Or pick individual: pool-modes, query-cache, rate-limiting, etc.

Plugin extensibility?

  • wasm-plugins for WebAssembly extensions
  • graphql-gateway for GraphQL API

Compatibility Matrix

Feature AFeature BCompatible?Notes
ring-cryptofipsEither/orUse one crypto provider
encryptionfipsYesFIPS replaces Ring for crypto ops
ha-tier1ha-tier2Yestier2 includes tier1
ha-tier3ha-tier1/2YesIndependent sharding layer
sync-experimentalha-*Not testedSync module is separate from HA
rocksdb-backenddefaultYesOpt-in alternative storage