What Designing a Binary Protocol Actually Taught Me

rust dev.to

Vaylix

Vaylix is a Rust key/value database built around a strict transport boundary:

client -> transport -> TCP/TLS -> transport -> server -> engine

The current server stores UTF-8 keys with opaque byte values using segmented WAL plus encrypted snapshot persistence. It includes a shared framed binary transport, a Tokio multi-client server, authentication with RBAC, optional TLS/mTLS, default-on frame compression, logical backup/restore commands, offline PITR-oriented storage subcommands, maintenance mode, hash-chained audit logging, and Raft-style HA replication with automatic leader election and quorum-backed writes.

Detailed architecture context lives in LLM.md Benchmark guidance lives in BENCHMARKING.md Stability and compatibility contracts live in STABILITY.md, COMPATIBILITY_1_0.md, ERROR_CODES.md, NON_GOALS.md, and DEPLOYMENT.md.

Downloads

Release binaries are published from tagged releases:

Release builds also publish SBOMs and keyless Sigstore/cosign attestations.

Run with Docker

docker pull ghcr.io/vaylix/vaylix:latest
docker
Enter fullscreen mode Exit fullscreen mode

Source: dev.to

arrow_back Back to Tutorials