主权项 |
1. A computer-implemented method for protecting server resources from over-use by a user profile and allowing user experience to be preserved, the method comprising:
maintaining, via a computer server system, a computer-readable budget of server usage associated with a computer-readable user profile; receiving, via the computer server system, a computer-readable current request for a server to perform work for the user profile; determining, via the computer server system, that a current balance of the budget warrants performing traffic shaping to decrease a rate of server resource usage by the user profile by introducing a delay in a response to the current request; and calculating, via the computer server system, a delay time based on server resources used in processing the current request; and in response to the determination that the current balance of the budget warrants performing traffic shaping for the user profile by introducing the delay in the response to the current request, introducing, via the computer server system, the delay in the response to the current request, the introduced delay being for the calculated delay time, the introducing of the delay being performed after the calculating of the delay time, and the introducing of the delay decreasing the rate of server resource usage by the user profile. |