EdgeStash
A Redis-compatible rate limiter, running in WebAssembly at the edge.
Every allow/deny below is decided by Valdr, a safe-Rust port of Valkey compiled to wasm, running a Lua token bucket inside a Cloudflare Durable Object. No external Redis.
request → Worker → Durable Object → valdr-engine (wasm) → Lua
Try it
Spend faster than the bucket refills and the next request gets a 429, decided locally by the Lua below.
Policy
Stored as a Valdr hash and read by the script. Change it and the same script honors the new limits, with no redeploy.
Keyspace
What the Durable Object actually persists for this tenant — each Redis key under its own value, dumped live from /v1/_debug/<tenant>. The wrangler Local Explorer can't read a Rust Durable Object over RPC, so this is the in-product view.
The Lua
The exact script the engine runs for every decision, fetched live from /script.
loading…