Two token_rate_limit rules matched by x-tier, each keyed by x-app-id: gold-tier (sliding_window) for app-a/app-c, silver-tier (token_bucket) for app-b — both backed by the same shared Valkey namespace.
trl-demo
+ Live pods: resolving via Kubernetes API…
+ x-tierTwo independent Praxis AI gateways, three applications, one shared budget per app.
+app-a, app-b, and app-c each draw against their own token budget.
Independent replicas — same config, same Valkey namespace.
gold-tier (sliding_window) and silver-tier (token_bucket), matched by x-tier.
Budgets tracked in Valkey, not per-replica memory.
Every request is matched to a rule and its cost reserved before it ever reaches the backend.
+x-tier headerx-app-idMatched to a rule, reserved against the shared ledger, and only then forwarded — or stopped cold before ever reaching a backend.
+