Most rate limiting advice assumes one address is one person. CogniPrep Assess is sat by candidates, and a university careers session or a recruitment day puts thirty of them behind one address, all opening the same kind of link at the same minute, all reloading after each task. A limiter tuned for the open internet would lock out the room.
The candidate-facing pages, the invitation guide and the sample , are the ones this shaped. Here is how the limiter is arranged.
A preset for every place a request can come from
Instead of one limit and a lot of exceptions, there is a table of named presets, each with a count and a window, and each route says which preset it uses. The presets are grouped by who is asking: signed-in employers, the customer API, sign-in and recovery, candidate entry points, task play, public forms, background jobs, and the live call.
A preset's name is part of its Redis key, and all of them sit under an rl:assess: prefix because the Redis instance is shared with another product.…