While investigating T248151: Big number of uploads from DPLA bot it has become obvious that bots on commons are not currently subject to upload rate limits.
For both performance, reliability and capacity planning reasons I think we should be enforcing (generous, but not unbounded) rate limits on file uploads, hence this task. Such limits will make it easier to be within capacity planning plans and protect systems from being overloaded, but not hinder regular upload activities.