R
Redis
Cacheredis://rediss://Speak RESP directly over TCP — one command per request in argv form: SET, GET, INCR, EXPIRE, PING and the rest. Pure Rust — no redis crate quirks, no OpenSSL.
$ loadr plugin install redis
plugins:
- name: redis # resolves redis:// at runtime
scenarios:
cache_churn:
executor: constant-vus
vus: 20
duration: 15s
flow:
- request:
url: redis://cache.example.com:6379
plugin:
command: ["SET", "session:${vu}", "active"]
checks:
- { type: status, equals: 0 } # 0 = +OK, 1 = RESP error
- { type: body_contains, value: OK }
thresholds:
redis_req_duration: [ "p(95)<100ms" ]
Metrics: redis_reqs · redis_req_duration.
Install the plugin, then hammer SET / GET / INCR against Redis over RESP — see demo #18.
A runtime plugin, never in the binary
Installing pulls a per-platform driver from the signed index, verifies its SHA-256 and checks its ABI before it ever loads. Remove it any time with loadr plugin remove redis.