Multi-Protocol Database Platform
Orbit-RS is a distributed database that speaks several wire protocols over one durable, replicated store. Its goal is full compatibility with PostgreSQL 18, measured against the PostgreSQL 18 conformance corpus; each other protocol layer targets the latest version of the system it imitates (see the protocol table in Project Overview). Compatibility, maturity and performance are stated only as measured: a conformance pass rate with its date, a maturity label with its evidence, and benchmark results with their method.
What is Orbit-RS?
Orbit-RS is a multi-protocol database platform that combines the power of virtual actor architecture with comprehensive database capabilities. It’s designed as a next-generation system that unifies:
- Virtual Actor Framework for distributed computing with in-process communication
- Multi-Protocol Database with SQL, vector, time-series, and graph support
- AI/ML Integration with 8 intelligent subsystems and neural engine acceleration
- Cloud-Native Operations with Kubernetes operators and enterprise features
Current Status
- PostgreSQL: Preview, 789 of 816 conformance records (96.7%), 2026-10-27, PostgreSQL 18 corpus; every other protocol: Experimental, compatibility not yet measured (Maturity)
- 3,986 test functions and 457,233 non-blank lines of Rust (
scripts/project_facts.py, commit 222ac1c2, 2026-10-25) - In-process communication for local operations; AI/ML subsystems and hardware acceleration are Experimental
Core Features
Virtual Actor System
- Distributed Computing: Actor-based distributed programming model
- In-Process Communication: Zero-overhead local actor invocations via channels
- Automatic Lifecycle Management: On-demand activation and transparent scaling
- Type-Safe Interfaces: Compile-time guarantees with Rust’s type system
- Location Transparency: Actors can move between nodes seamlessly
- State Persistence: Automatic state management with RocksDB backend
Multi-Protocol Database
- SQL Database: Full ANSI SQL support with PostgreSQL wire protocol compatibility
- Vector Database: High-performance similarity search with HNSW/IVFFLAT indexing
- Time-Series Database: RedisTimeSeries-compatible with 21 comprehensive tests
- Graph Database: Cypher-like queries with distributed graph operations
- Document Store: Flexible JSON document storage and querying
- Key-Value Store: Redis-compatible with 124+ commands
AI-Native Subsystems (8 Components)
- AI Master Controller - Central orchestration (10-second control loop)
- Intelligent Query Optimizer - Cost-based optimization with ML
- Predictive Resource Manager - Workload forecasting
- Smart Storage Manager - Hot/warm/cold tiering
- Adaptive Transaction Manager - Dynamic concurrency control
- Learning Engine - Model improvement
- Decision Engine - Policy-based decisions
- Knowledge Base - Pattern storage
Protocol Support (All with RocksDB Persistence)
| Protocol | Port | Target | Maturity | Compatibility |
|---|---|---|---|---|
| PostgreSQL | 5432 | PostgreSQL 18 | Preview | 789 of 816 records (96.7%), 2026-10-27 |
| MySQL | 3306 | MySQL LTS 9.7 | Experimental | 20.0% (60 of 300), 9.7.4 |
| CQL | 9042 | Cassandra 5.0 | Experimental | 30.3% (63 of 208), 5.0.9 |
| AQL | 8529 | ArangoDB 3.12 | Experimental | 36.4% (94 of 258), 3.12.12 |
| MongoDB | 27017 | MongoDB 8.3 | Experimental | 44.0% (59 of 134), 8.3.13 |
| Redis RESP | 6379 | Redis 8 | Experimental | 37.1% (247 of 666), 8.10.2 |
| Cypher/Bolt | 7687 | Neo4j 2026.10 | Experimental | 7.8% (9 of 115), 2026.10.1 |
| HTTP REST / gRPC | 8080 / 50051 | Orbit’s own specifications | Experimental | not yet measured |
Targets are set in ADR 0006; the earlier “Complete” labels counted commands, not measured compatibility.
Cloud-Native Architecture
- Kubernetes Operator: Custom resources for cluster management
- Helm Charts: deployment templates (Experimental)
- Auto-Scaling: Dynamic cluster scaling based on workload
- Multi-Platform: Support for linux/amd64, linux/arm64, and Apple Silicon
- Enterprise Security: RBAC, JWT authentication, audit trails
Performance
Not yet benchmarked. Earlier throughput, latency, binary-size and JVM-comparison figures were removed because no benchmark backed them (ADR 0016).
System Architecture
Orbit-RS is built as a comprehensive workspace with 15 core modules:
orbit-rs/
├── Core Framework
│ ├── orbit-client/ # Client library with in-process support
│ ├── orbit-shared/ # Common types, clustering, transactions
│ ├── orbit-server/ # Multi-protocol server
│ ├── orbit-proto/ # gRPC services and Protocol Buffers
│ └── orbit-util/ # Utilities, RNG, metrics
├── Storage & Compute
│ ├── orbit-engine/ # Storage engine (OrbitQL, adapters)
│ ├── orbit-compute/ # Hardware acceleration (SIMD, GPU)
│ └── orbit-ml/ # Machine learning inference
├── Cloud & Operations
│ ├── orbit-operator/ # Kubernetes operator with CRDs
│ ├── orbit-server-etcd/ # etcd integration for clustering
│ └── orbit-server-prometheus/ # Metrics and monitoring
├── Applications & Integration
│ ├── orbit-application/ # Application framework
│ ├── orbit-client-spring/ # Spring Boot integration
│ └── orbit-cli/ # Interactive CLI client
└── Client SDKs
├── orbit-python-client/ # Python SDK
└── orbit-vscode-extension/ # VS Code extension
In-Process Communication Architecture
┌─────────────────────────────────────────────────────────┐
│ OrbitServer │
│ ┌──────────────────────────────────────────----────┐ │
│ │ Protocol Handlers │ │
│ │ ┌──────┐ ┌─────--─┐ ┌──────┐ ┌──────┐ │ │
│ │ │Redis │ │Postgres│ │MySQL │ │ CQL │ │ │
│ │ │:6379 │ │:5432 │ │:3306 │ │:9042 │ │ │
│ │ └───┬──┘ └───┬──--┘ └───┬──┘ └───┬──┘ │ │
│ └──────┼─────────┼────────--─┼─────────┼───────────┘ │
│ │ │ │ │ │
│ └─────────┴───────────┴─────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ OrbitClient (Local) │ │
│ │ In-Process Channels │ │
│ └───────────┬───────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ ServerConnectionSvc │ │
│ │ Message Processing │ │
│ └───────────┬───────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ Actor Registry │ │
│ │ Virtual Actors │ │
│ └───────────┬───────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ RocksDB Storage │ │
│ │ Persistent LSM-Tree │ │
│ └───────────────────────┘ │
└─────────────────────────────────────────────────────────┘
Component Overview
orbit-client
- Actor Proxies: Client-side representations of remote actors
- In-Process Communication: Zero-overhead local invocations via channels
- Invocation System: Message routing and remote procedure calls
- Lease Management: Actor lifetime and resource management
orbit-shared
- Data Types: Common data structures and type definitions
- Messages: Inter-actor communication protocols
- Transactions: Distributed transaction coordination (2PC, Saga)
- Clustering: Raft consensus, leader election
- Persistence: Storage backend abstractions and providers
orbit-server
- Multi-Protocol Server: PostgreSQL, Redis, MySQL, CQL, REST, gRPC
- Cluster Management: Node discovery and cluster membership
- Load Balancer: Request distribution and resource optimization
- Health Checks: System monitoring and failure detection
- Persistence Providers: RocksDB, Memory, COW B+Tree, LSM-Tree
orbit-engine
- Storage Engine: OrbitQL execution and storage adapters
- Hybrid Storage: Hot/warm/cold tiering
- Query Planning: Query optimization and execution
orbit-compute
- SIMD Operations: x86-64 AVX-512, ARM64 NEON/SVE
- GPU Backends: Metal, CUDA, Vulkan, ROCm
- Neural Engines: Apple Neural Engine integration
orbit-ml
- ML Inference: Model loading and execution
- Statistical Functions: Linear regression, correlation, z-score
- SQL Integration: ML functions callable from SQL
Key Advantages
Memory Safety
- Compile-time elimination of data races and memory errors
- Safe concurrent programming with Rust’s ownership model
- No null pointer exceptions or memory leaks
- Zero unsafe code in core modules
Performance Benefits
- Zero-cost abstractions for high-level programming
- Native performance without virtual machine overhead
- In-process communication eliminates network overhead
- Memory and CPU use: not yet benchmarked
Operational Excellence
- Single binary deployment with minimal dependencies
- Built-in observability and monitoring (100+ Prometheus metrics)
- Comprehensive error handling and debugging support
- Zero compiler warnings policy
Use Cases
Orbit-RS is ideal for building:
- Unified Data Platform: Replace PostgreSQL + MySQL + Redis + Cassandra with one server
- AI/ML Applications: Vector search, embeddings, semantic queries
- Time Series Analytics: IoT data, monitoring, real-time analytics
- Graph Applications: Social networks, knowledge graphs, recommendation engines
- Microservices Architectures: Distributed actor-based services
- Real-time Applications: Low-latency message processing
- Financial Systems: Transaction processing with ACID guarantees
Next Steps & Documentation
Getting Started
- Quick Start Guide - Get up and running in 30 seconds
- Project Overview - Status, protocol targets and maturity
- Product Requirements Document - Complete architecture and module reference
- Feature Index - Comprehensive feature overview
- Contributing Guide - How to contribute to the project
Architecture & Core Systems
- Virtual Actor Persistence - Actor state management
- Advanced Transaction Features - Distributed transactions
- Compute Acceleration Guide - GPU/Neural acceleration
- AI-Native Subsystems - Intelligent database features
Protocols & Features
- Redis Commands - 124+ RESP commands
- PostgreSQL Integration - PostgreSQL wire protocol
- MySQL Documentation - MySQL wire protocol
- Time Series - RedisTimeSeries compatibility
- Vector Operations - AI/ML vector database
Operations & Deployment
- Kubernetes Complete Documentation - Production K8s setup
- Security Guide - Security policies and best practices
- Monitoring Guide - Metrics and observability
- Configuration Reference - Complete configuration guide
Client SDKs
- Python SDK - Python client library
- VS Code Extension - Development tools
Orbit-RS: One Server, All Protocols