Page MenuHomePhabricator

Introduce a rate limiting for item ID creation on Wikidata
Closed, DuplicatePublic


T44362 reports a large number of item creation attempts is failing.

T268625#6651803 suggested to introduce a limiting the rate on which item IDs for newly created Items are generated, so that bad requests cannot generate (i.e. skip) item IDs at an inappropriately high rate. (Successful Item creation is already rate limited.)

Acceptance criteria

  • It possible to control/limit the rate on which new item IDs are generated on Wikidata

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

My assumption was that the rate limit would be equal to the “create” rate limit – admins shouldn’t have to configure this one even if they change the “create” rate limit to a nonstandard value.

To prevent disrupting existing users and bots we should use 90/min unless there are enough evidence that this is not enough and a lower rate will be helpful.

Lucas_Werkmeister_WMDE renamed this task from Introduce a rate limiting for item creation on Wikidata to Introduce a rate limiting for item ID creation on Wikidata.Dec 2 2020, 4:36 PM
Lucas_Werkmeister_WMDE updated the task description. (Show Details)

We also need to introduce some (internal) logs to track who is hitting the limit.