APPLICATION PROGRAMMING INTERFACE (API) REQUEST THROTTLING

    公开(公告)号:US20220405119A1

    公开(公告)日:2022-12-22

    申请号:US17304543

    申请日:2021-06-22

    Applicant: Twilio Inc.

    Abstract: Disclosed are systems, methods, and non-transitory computer-readable media for application programming interface (API) request throttling. A request throttling system monitors incoming API requests and applies delays to repeated API requests to avoid an overload and/or disruption in service. Upon receiving an API request from a requesting device, the request throttling system determines a counter value that is used to determine whether to apply a delay to API request. The counter value indicates a number or previous requests received from the requesting device that were directed to the same resource and which resulted in an error. The request throttling system compares the counter value to a threshold value to determine whether to apply a delay to the API request. Applying a delay reduces the speed at which subsequent repeat API requests are received from the requesting device, while still allowing for API requests from the requesting device to be processed.

    Application programming interface (API) request throttling

    公开(公告)号:US11720396B2

    公开(公告)日:2023-08-08

    申请号:US17304543

    申请日:2021-06-22

    Applicant: Twilio Inc.

    CPC classification number: G06F9/485 G06F9/541 G06F9/547

    Abstract: Disclosed are systems, methods, and non-transitory computer-readable media for application programming interface (API) request throttling. A request throttling system monitors incoming API requests and applies delays to repeated API requests to avoid an overload and/or disruption in service. Upon receiving an API request from a requesting device, the request throttling system determines a counter value that is used to determine whether to apply a delay to API request. The counter value indicates a number or previous requests received from the requesting device that were directed to the same resource and which resulted in an error. The request throttling system compares the counter value to a threshold value to determine whether to apply a delay to the API request. Applying a delay reduces the speed at which subsequent repeat API requests are received from the requesting device, while still allowing for API requests from the requesting device to be processed.

Patent Agency Ranking