QubeDB is a modern, high-performance, multi-model database built in Rust. It combines the power of relational, document, graph, vector, and time-series databases in one unified system with AI-native optimization.
- Relational: Full SQL support with ACID transactions
- Document: JSON/BSON document storage
- Graph: Graph database with Gremlin query support
- Vector: AI/ML vector similarity search
- Time-series: Optimized for IoT and analytics
- Rust-powered: Memory-safe and blazingly fast
- 100K+ TPS: High transaction throughput
- <1ms latency: Ultra-low latency operations
- Horizontal scaling: Sharding and distributed queries
- Multiple Protocols: HTTP REST, gRPC, PostgreSQL wire protocol
- Rich SDKs: Rust, Node.js, Python, PHP, Java, Go, C#
- Web GUI: Modern database management interface
- CLI Tools: Command-line database administration
- High Availability: Replication and automatic failover
- Security: Encryption, authentication, and audit logging
- Monitoring: Prometheus/Grafana integration
- Compliance: GDPR, HIPAA, SOC2 support
# Clone the repository
git clone https://github.com/qubedb/qubedb.git
cd qubedb
# Build QubeDB
cd qubedb-core
cargo build --release
# Start the server
cargo run --bin server# Run QubeDB with Docker
docker run -p 8080:8080 qubedb/qubedb:latestuse qubedb_core::QubeDB;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Connect to QubeDB
let db = QubeDB::new().await?;
// Create a table
db.execute("CREATE TABLE users (id INT, name TEXT, email TEXT)").await?;
// Insert data
db.execute("INSERT INTO users VALUES (1, 'John Doe', 'john@example.com')").await?;
// Query data
let result = db.execute("SELECT * FROM users WHERE id = 1").await?;
println!("{:?}", result);
Ok(())
}- Getting Started Guide - Learn the basics
- API Reference - Complete API documentation
- Architecture Guide - Technical architecture
- Performance Tuning - Optimization guide
- Deployment Guide - Production deployment
See our Master Roadmap for the complete development plan:
- Phase 1: Core Engine Enhancement (Months 1-6)
- Phase 2: SQL Layer Implementation (Months 7-14)
- Phase 3: Network & Protocol Layer (Months 15-18)
- Phase 4: Client Libraries (Months 19-24)
- Phase 5: Production Features (Months 25-32)
- Phase 6: Enterprise Features (Months 33-44)
- Phase 7: Global Scale (Months 45-60)
- Rust 1.70+
- Cargo
- Git
# Clone the repository
git clone https://github.com/qubedb/qubedb.git
cd qubedb
# Install dependencies
cd qubedb-core
cargo build
# Run tests
cargo test
# Run benchmarks
cargo benchqubedb/
βββ qubedb-core/ # Core database engine (Rust)
β βββ src/
β β βββ storage/ # Storage engine (WAL, BTree, LSM)
β β βββ query/ # Query engine (SQL parser, optimizer)
β β βββ drivers/ # Language drivers
β β βββ lib.rs
β βββ Cargo.toml
βββ qubedb-gui/ # Web-based GUI
βββ docs/ # Documentation
βββ examples/ # Example applications
βββ tests/ # Integration tests
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Fork and clone the repository
git clone https://github.com/your-username/qubedb.git
cd qubedb
# Create a new branch
git checkout -b feature/your-feature-name
# Make your changes
# ... code changes ...
# Run tests
cargo test
# Commit and push
git add .
git commit -m "Add your feature"
git push origin feature/your-feature-name| Metric | QubeDB | PostgreSQL | MySQL |
|---|---|---|---|
| TPS | 100K+ | 50K | 30K |
| Latency | <1ms | 2ms | 3ms |
| Memory Usage | 100MB | 200MB | 150MB |
| Storage Efficiency | 95% | 80% | 75% |
# Run benchmarks
cargo bench
# Results
test insert_benchmark ... bench: 1,234,567 ns/iter (+/- 123,456)
test select_benchmark ... bench: 123,456 ns/iter (+/- 12,345)
test update_benchmark ... bench: 234,567 ns/iter (+/- 23,456)
test delete_benchmark ... bench: 345,678 ns/iter (+/- 34,567)- E-commerce platforms
- Content management systems
- User authentication systems
- Real-time analytics
- Sensor data collection
- Device monitoring
- Predictive maintenance
- Energy management
- Vector similarity search
- Recommendation systems
- Natural language processing
- Computer vision
- Customer relationship management
- Enterprise resource planning
- Business intelligence
- Data warehousing
- Advanced security features
- High availability clustering
- Enterprise support
- Custom deployment options
- Fully managed database service
- Automatic scaling
- Global distribution
- 99.99% uptime SLA
- Email: enterprise@qubedb.com
- Website: https://qubedb.com/enterprise
- Demo: https://qubedb.com/demo
- Discord: Join our Discord server
- GitHub Discussions: Ask questions
- Twitter: @QubeDB
- LinkedIn: QubeDB Company
Thank you to all our contributors! See CONTRIBUTORS.md for the full list.
This project is licensed under the MIT License - see the LICENSE file for details.
- Rust Community - For the amazing language and ecosystem
- PostgreSQL - For SQL standard inspiration
- RocksDB - For LSM-tree implementation ideas
- SQLite - For embedded database concepts
- All Contributors - For making QubeDB possible
- Documentation: docs.qubedb.com
- Issues: GitHub Issues
- Discord: Discord Server
- Email: support@qubedb.com
QubeDB - Building the future of databases, one commit at a time! π
Made with β€οΈ by the QubeDB Team