ospalabs
Stop the spend

A cap on each key, inside the project ceiling

One project, one provider key, several apps: production, staging, an agent experiment. Give each its own Fuse key, and give the risky ones a cap of their own.

  1. 01

    Inside the project ceiling

    A request has to fit both: its key's cap and the project ceiling.

  2. 02

    Scoped refusal

    The 402 says scope: "key", and only that key stops.

  3. 03

    Recorded

    Every change to a key cap is in the ceiling history with who made it.

Questions

Is the cap atomic under load?
Yes. It is checked in the same step as the project ceiling and counts that key's in-flight requests.