Systems and methods for API rate limiting and distribution
Abstract
An API rate limiting system may receive a client request from an API client associated with a tenant, formulate a proxied request with an internal authentication specific to the tenant, and send the proxied request to API endpoints (tenant resources) at a store. The store fulfills the request, accessing and modifying local database(s) as needed, and returns a response to the system. The system returns the response to the API client along with information about the API client's quota for the current time window. The system may calculate the quota based on a resource limit with respect to a number of clients accessing a resource. In some embodiments, the system may implement an exponential distribution function in making a determination on a quota per API client per time window.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, by an application programming interface (API) proxy system embodied on a cluster of server machines, a client request from an API client; the API proxy system calculating a quota of requests allowed for the API client for a current time window based at least in part on a number of active API clients during the current time window and a tunable scaling factor, wherein the quota of requests allowed for the API client for the current time window is calculated using an exponential distribution function, wherein the exponential distribution function is formulated as
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- Erwin Harahap et al, "Modeling of Router-based Request Redirection for Content Distribution Network", International Journal of Computer Applications (0975-8887) vol. 76-No. 13, Aug. 2013.
- Erwin Harahap et al, “Modeling of Router-based Request Redirection for Content Distribution Network”, International Journal of Computer Applications (0975-8887) vol. 76—No. 13, Aug. 2013.
- Harahap et al., "Modeling of Router-Based Request Redirection for Content Distribution Network," I]CA-International Journal of Computer Applications, Aug. 2013, [Retrieved from <<http://research.ijcaonline.org/volume76/number13/pxc3890857.pdf>>, 10 pages.
- Harahap et al., “Modeling of Router-Based Request Redirection for Content Distribution Network,” I]CA—International Journal of Computer Applications, Aug. 2013, [Retrieved from <<http://research.ijcaonline.org/volume76/number13/pxc3890857.pdf>>, 10 pages.
- International Preliminary Report on Patentability issued for PCT Patent Application No. PCT/US2015/015230, dated Aug. 16, 2016, 5 pages.