# tunnr-etcd

[`tunnr-etcd`](crates/tunnr-etcd) is an etcd-shaped store on redb. It has revisions, transactions, leases, watch from a revision, compaction, and a twin that acks every write before it returns. It runs built in, as Rusternetes' `redb` storage feature, or on its own host as an etcd v3 gRPC server (feature `server`, binary `tunnr-etcd`).

[docs/rusternetes-on-tunnr.md](docs/rusternetes-on-tunnr.md) is the study of running Rusternetes on tunnr's installer that started it.

```sh
cargo test --features server
cargo run --release --example quickbench
cargo run --release --features server --bin tunnr-etcd-bench -- --clients 16 put --total 20000
```
