Author: srbauer
Description:
By using the API it is very easy to overload the servers even if you don't want to do anything harmful. By designing an application I accidently created to much load, seen with the database lag shown in watchlist and contributions - I could watch increasing the lag nearly in real time.
There should be added two things:
- a query for the lag of database servers - give applications a chance to recognize heavy load and to react
- throttle down the API queries inside the API if the lag exceeds a given value or give an overload error - this is needed if an application has does not examine (1) or want's to harm the servers.
If you need my demo queries, I'll send them per mail but I don't want to present them to the public at the moment.
Version: unspecified
Severity: enhancement