ormdb-server
Standalone database server for ORMDB.
Overview
ormdb-server is the main entry point for running ORMDB as a standalone database service. It handles:
- Client connections via NNG (nanomsg-next-gen)
- Request routing and protocol handling
- Mutation processing with cascades
- Change data capture and pub/sub
- Replication streams
Installation
# Install from crates.io
# Or build from source
Usage
# Start the server
# With logging
RUST_LOG=info
# Show all options
Configuration
| Flag | Description | Default |
|---|---|---|
--data-dir |
Data directory path | ./data |
--port |
Server port | 5432 |
--host |
Bind address | 127.0.0.1 |
Connecting
Use the ORMDB client libraries to connect:
Rust
use Client;
let client = connect.await?;
TypeScript
import { OrmdbClient } from '@ormdb/client';
const client = new OrmdbClient({ url: 'ormdb://localhost:5432' });
Python
=
License
MIT License - see LICENSE for details.
Part of the ORMDB project.