-
公开(公告)号:US20220405119A1
公开(公告)日:2022-12-22
申请号:US17304543
申请日:2021-06-22
Applicant: Twilio Inc.
Inventor: Juan Fernández Ortiz , Madeleine Genevieve Muscari , José Manuel Felguera Rodriguez , Freddy Pena , Samuel Moran , Umer Liqat , Jeremy Andrew McEntire , Will Mason
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.
-
公开(公告)号:US20230385099A1
公开(公告)日:2023-11-30
申请号:US18231223
申请日:2023-08-07
Applicant: Twilio Inc.
Inventor: Juan Fernández Ortiz , Madeleine Genevieve Muscari , José Manuel Felguera Rodríguez , Freddy Pena , Samuel Moran , Umer Liqat , Jeremy Andrew McEntire , Will Mason
Abstract: Disclosed are systems, methods, and non-transitory computer-readable media for application programming interface (API) request throttling. A method includes receiving a current API request having originated from an Internet Protocol (IP) address, determining a counter value of previous API requests that originated from the IP address and resulted in error, determining, based on the counter value of the previous API requests that originated from the IP address and resulted in error, to apply a delay to a processing of the current API request, and a length of the delay to apply to the processing of the current API request, causing the delay to be applied to the processing of the current API request using the determined length, and in response to determining that the delay has completed, causing the processing of the current API request to resume.
-
公开(公告)号:US11720396B2
公开(公告)日:2023-08-08
申请号:US17304543
申请日:2021-06-22
Applicant: Twilio Inc.
Inventor: Juan Fernández Ortiz , Madeleine Genevieve Muscari , JoséManuel Felguera Rodriguez , Freddy Pena , Samuel Moran , Umer Liqat , Jeremy Andrew McEntire , Will Mason
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.
-
-