23

Amazon Product Advertising API を使用している方は、スロットルに遭遇した経験はありますか? おそらく、制限は 1 秒あたり 1 リクエストに設定されていると思いますが、それはあなたの経験ですか?

サイトを全国規模に拡大したいと考えていますが、すべての Amazon API リクエストをスロットルなしで行う能力について懸念があります。すべての応答を 24 時間キャッシュし、短期間にあまりにも多くの検索を行うユーザーを抑制します。

私は心配する必要がありますか?助言がありますか?

4

4 に答える 4

15

彼らはそれを変えたと思います。このリンクごと: https ://forums.aws.amazon.com/message.jspa?messageID = 199771

アカウントあたりの1時間あたりのリクエスト制限=2,000+ 500*[過去30日間の1日あたりの平均アソシエイト収益]/24から1時間あたり最大25,000リクエスト。

于 2012-08-01T00:49:53.113 に答える
10

これは、2012 年 9 月 3 日から有効な最新のオン リクエスト制限です。

アプリケーションがアカウントの最大リクエスト制限を超えるリクエストを送信しようとすると、Product Advertising API からエラー メッセージが表示される場合があります。各アカウントのリクエスト制限は、収益実績に基づいて計算されます。Product Advertising API へのアクセスに使用される各アカウントには、1 秒あたり 1 リクエストの初期使用制限が許可されます。各アカウントは、過去 30 日間の 1 時間あたりの出荷アイテム収益 $4,600 ごとに、1 秒あたり 1 リクエスト (1 秒あたり最大 10 リクエストまで) を追加で受け取ります。

https://affiliate-program.amazon.com/gp/advertising/api/detail/faq.html

于 2013-01-25T17:09:29.467 に答える
5

Amazon enforces limits on how many calls you can make per hour and per second.

You can increase the former by following the sanctioned route (increase commission revenue) or by privately petitioning Amazon with a valid reason. When whitelisted, your limit will go up to 25,000 calls per hour, which is more than good enough for the vast majority of projects I can think of.

The latter limit is murkier and enforced depending on the type of query you make. My interpretation is that it is meant to keep serial crawlers who do batch item lookups in check. If you are simply doing keyword searches etc., I would not worry so much about it. Otherwise, the solution is to distribute your calls across multiple IPs.

One other point to keep in mind if you are querying multiple locales is to use separate accounts per locale. Some locales are grouped and will count to the same call quota. European Amazons, for instance, form such a pool.

于 2011-06-16T22:49:11.717 に答える