Production-ready TCP server with security, clustering, and monitoring.
Admin -- Full access to all commands including user managementReadWrite -- CRUD, indexes, transactions, blobs, search, proceduresRead -- Queries, counts, aggregations, list operations onlyOxiWire is OxiDB's custom binary protocol. Fixed-size encoding (1-byte type tags, 4-byte LE lengths, 8-byte LE numbers). Faster than JSON and MsgPack for both serialization and deserialization.
Clients can also use plain JSON over the same TCP connection.
Multi-node replication via Raft consensus. State machine replication with persistent log. Enable with the cluster feature flag.
| Environment Variable | Default | Description |
|---|---|---|
OXIDB_ADDR | 127.0.0.1:4444 | Bind address |
OXIDB_DATA | ./oxidb_data | Data directory |
OXIDB_POOL_SIZE | 4 | Worker thread count |
OXIDB_IDLE_TIMEOUT | 30 | Connection timeout (seconds, 0 = never) |