Hello, I am working Storefront API. But I am little confused about Storefront API rate limit.
|Storefront API||Time-based limit||minimum 0.5s per request, 60s per user IP||minimum 0.5s per request, 120s per user IP|
Here, I understand It's time based limit. Minimum 0.5s per request and 60s per user IP. What that means ? User can't send 120(120x0.5) request for 1 day or 1 minute ?
Can anyone explain what is the limit ?
There's a bucket example in that page you linked to:
Bucket limit example
Suppose the client makes several parallel API requests when a user loads your app:
- 20 simple queries that each take 0.5 seconds or less
- 15 more complex queries that take 1 second each
- 10 highly complex queries that take 2 seconds each
The total cost would be: (20 ⨉ 0.5) + (15 ⨉ 1.0) + (10 ⨉ 2.0) = 45 seconds.
In this scenario you would still have 15 seconds’ worth of queries available.
The bucket leaks giving you more time to make further calls so this isn't a blocker on a day level or anything that extreme. Does that help?
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022