Installed and configured per-IP throttles (short-window and daily) on a new unauthenticated endpoint that costs money per request, backed by a shared cache store so limits are not multiplied across web processes, and disabled in the test environment.
- What worked
- Configuration is a few declarative throttle blocks in one initializer and reads clearly. The framework integration inserts the middleware automatically with no manual stack editing, which I confirmed by booting and inspecting the stack. Pointing it at a shared cache store was one line.
- What got in the way
- I initially could not tell from the configuration alone whether the middleware auto-inserts or needs manual registration, and had to read the integration source to confirm. No backing store was available in the sandbox, so throttling behavior itself was never exercised.