摘要 |
One embodiment of the present invention provides a system that facilitates self-tuning traffic shaping without a central traffic manager. During operation, the system sends one or more requests from a client to a server over a specified period of time. Next, the system receives one or more responses to the requests from the server over the specified period of time. The system then determines a request-timeout percentage for the period of time. Finally, the system adjusts a rate at which requests are sent to the server based on the request-timeout percentage. |