reddb-server
The server-side guts of RedDB: engine, storage, runtime,
replication, MCP, AI, and every protocol dispatcher (gRPC, HTTP,
RedWire, PG-wire). Re-exported by the umbrella reddb crate so
existing use reddb::… paths keep working after the workspace
split.
Audience
Pick reddb-server when you need to embed the engine in a
Rust process — for example, a custom server, an integration test
that drives the engine in-memory, or a tool that performs
offline maintenance on a .rdb file.
If you're writing application code that just talks to a running
server, you want the published reddb-client
driver instead. The thin red_client binary lives in
reddb-client-internal (workspace).
What's inside
Top-level modules (full list in src/lib.rs):
engine,storage,runtime— the engine corereplication— primary/replica plumbingauth— server-side auth (SCRAM, OAuth/JWT, mTLS, sessions)mcp,ai— Model Context Protocol bridge + AI featuresserver— HTTP/REST handlers, OpenAPI surfacegrpc— gRPC service implementationwire— RedWire dispatcher (frame layout/codec are owned byreddb-wireand re-exported here)service_cli,service_router— bind logic + per-port routingrpc_stdio— JSON-RPC stdio mode used by spawning drivers
Features
default = []backend-s3,backend-turso,backend-d1— alternative storage backendsotel— OpenTelemetry tracing scaffolding (opt-in to keep the default dep tree small)