We've received a few questions about how the daily request limit throttler works and I wanted to explain the point system we use for the API.
First of all, every request we receive is associated with an application. Even when an unauthenticated request comes in, we create a temporary fake application with an id generated from the IP address of the request. Each application falls under an application level or type and each of those levels/types has an associated point value. Instead of throttling applications by the number of requests made, we look at the cost of the requests made. For example, requesting realm status information is very cheap, therefore has a reduced request cost compared to looking up a guild, which is more expensive. It doesn't make any sense to say what the exact cost of requests are because we regularly evaluate and tweak the cost of requests based on hardware, software and application usage. What I can do is give you some rough guidelines to use when making lots of requests to the API.
When an application, either anonymous or registered, spends more points in a day than it has available, based on the application type/level, the request is denied. |
|
Likely, but not because we want to make things difficult for developers. We'd like to store a past set of N dumps for each realm and given that the times that a realm is process may not always be the same, the file names will differ over time. |
|
No, I was just stating that when we do make the transition (at some point, I honestly don't know when) then we'll be in ok shape. |
|
If you think about it, a cache miss is one of the more expensive conditions that we have to deal with. It wouldn't make any sense to make cache his less expensive than a cache hit because you are doing several times more work. |
|
I want to stress that the previously mentioned cap of 3k a day is a soft cap with a hard limit of 10k. What that means is that we can assure you that you'll be able to make at least 3k requests (remember, for the sake of argument this request is considered a character request) a day, but we don't start turning down requests until around 10k. That hard cap may shrink or grow depending on the state of the API servers and other factors. If you have been running an anonymous application and going past 3k character requests, this is why. We are just trying to allow developers and applications to get as much bang for their buck. |
|
The daily request limit is measured separately for each region. |
|
You'll receive JSON responses indicating that you've been throttled. If you can't even connect (as in open a socket) then you may have bigger issues to deal with. |
|
Chill.
Nah, you would be fine. |