Tag Info

Hot answers tagged

2

The documentation for the response wrapper defines the backoff field as an integer, so you can expect it to come back in the first form. I don't believe there's any way to graciously test a backoff response short of actually angering the API (which I'd recommend against).


2

backoff isn't used to indicate when you're breaking api limits (we start returning errors when you break contracts). The typical cause of a backoff is a request that takes unusual resources to run. These are normally either complicated queries or high page values; however, backoff is applied dynamically so the exact definition of "complicated" and "high" ...


2

You might consider looking at StacMan for inspiration, a C# client that deals with some of these questions. Off hand it does push everything through a "Manager" (called a Client in that code) and automatically enforces backoff and simultaneous request throttling. How many requests are OK to send simultaneously? While there is a strict cutoff... ...


2

When this class of error is encountered, the number of seconds until the quota rolls over is indicated as part of error_message now. For example: { "error_message": "too many requests from this app/user pair, more requests available in 76400 seconds" } This is meant for debugging and development purposes only, applications should take care to not ...


1

Or can I just spam them out as fast as my program can send them, as, like you said, you cache it anyway. No. The throttle discussion page specifically says: ... we consider > 30 request/sec per IP to be very abusive and thus cut the requests off very harshly. And even though the underlying data is cached for 60 seconds, the HTML requests are not. ...


1

See the Throttles doc page. The 10K limit is not if the customer registers, it is if you register your app and provide the key when you make API calls. Also, you can get more than 10K per IP if your app authenticates the user and then passes a valid access_token. In that case, it becomes 10K per logged in user and does not share the 10K IP limit. From ...


1

Provided you don't do anything "evil" (which basically means leaking user messages to people/apps they haven't authorized), we have no objections to a generic push service. Yes, the per-minute throttle is for the same request; changing the parameters counts as separate requests. Do note that the 30 requests/second cutoff is by IP (it's a DOS prevention ...



Only top voted, non community-wiki answers of a minimum length are eligible