Questions tagged [rate-limiting]

Rate limiting is used to control the rate of traffic sent or received on a network interface.

Traffic that is less than or equal to the specified rate is sent, whereas traffic that exceeds the rate is dropped or delayed. Rate limiting is performed by policing (discarding excess packets), queuing (delaying packets in transit) or congestion control (manipulating the protocol’s congestion mechanism). Policing and queuing can be applied to any network protocol. Congestion control can only be applied to protocols with congestion control mechanisms, such as the transmission control protocol (TCP).

1053 questions
0
votes
1 answer

Google Maps API: You have exceeded your daily request quota for this API. We recommend registering for a key at the Google Developers Console

Doing some stress / load testing I got this message and figured out that I'm using the free version of the API and not the one available to us in our Google Premium Plan. We do have a clientId and a crypto key, but we are not sure on how to use them…
gvasquez
  • 1,919
  • 5
  • 27
  • 41
0
votes
1 answer

Laravel API speed (too slow)

i'm trying to develop an API to store alarms coming from several applications into a database. I'm developing the api with Laravel. I've made a C program which makes multiple post requests to the API in order to see how many request can the laravel…
csharper
  • 83
  • 1
  • 2
  • 8
0
votes
1 answer

imgurpython.helpers.error.ImgurClientRateLimitError: Rate-limit exceeded

I have the following error: /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
1 answer

Evernote Initial Sync Boost

I'm working on an application that requires completely syncing a users Evernote account, however on some larger account we run into rate limits. According to the API documentation there is a feature known as Initial Sync Boost, however I can not…
Jack Davies
  • 111
  • 2
  • 10
0
votes
2 answers

Tweepy - Get All Followers For Account - Rate Limit Issues

Below is my working code to get twitter followers for certain accounts (@hudsonci in this case). My issue is the time that it is taking to pull in all of these followers. This account specifically has approx 1,000 followers ... I can only get to…
hansolo
  • 903
  • 4
  • 12
  • 28
0
votes
1 answer

Hitting the Rate Limit

I'm currently working on an integration between Podio and another API, and i've stumbled on the following situation: I currently have to find information from a reference in one workspace in an app containing information about invoices and then…
0
votes
1 answer

wso2am-2.0.0 - error on server console while saving a subscription tier by admin

I am getting following error when I try to create a new subscription tier using admin credentials in wso2am -2.0.0. And, there is no error on screen. When I use this tier while subscribing to an API, there is no API blocking happening on exceeding…
siddhesh
  • 45
  • 4
0
votes
0 answers

Make Import compatible with 3rd party API

I am using an API that allows our app to make 600 calls to it per a minute. An import will allow a user to make as many calls to the API necessary to import all of their contacts. This is being tested with databases of up to 25,000 contacts. With…
0
votes
1 answer

How to create an efficient for loop to resolve the rate limit issue with twitteR?

I am quite new to TwitteR and the concept of for loop. I have come across to this code to get the followers and profiles. This code below works fine. Not entirely sure if retry on rate limit should be set for such a long time. #This extracts all or…
Samuel
  • 155
  • 1
  • 10
0
votes
2 answers

In PHP, how to stop function, wait, and recursively restart itself until some condition is met?

If some condition is met, how can I make the function: Stop executing the rest of the function Wait X time Restart the function Would it be something like: function someFunc() { if (x == 0) { sleep(60); someFunc(); …
Andre Bulatov
  • 1,090
  • 3
  • 16
  • 47
0
votes
1 answer

WebApiThrottle Middleware Throttling Conflicts With MvcThrottle Attributes

There are two excellent throttling/rate-limiting libraries for ASP.NET. There is the MVC throttling library, MvcThrottle, and the Web API throttling library, WebApiThrottle. I was using the two together harmoniously until I needed to apply rate…
0
votes
0 answers

RateLimiter: 'yii\base\UnknownPropertyException' after deployment in production

For authorized users I set limit for the frequency of queries to the system. If the number of requests per given time interval more than set, it returns a response with status code 429. In my particular case it is no more than one request in five…
user1134181
0
votes
1 answer

X-Rate-Limit with two restrictions?

I have a "search" endpoint in my API that requires quite a lot of work in the backend. For that reason, I've added a Rate limit per minutes (10 req/m) but I also would like to add a rate limit per day to avoid abuse. The issue I'm facing is…
Cyril N.
  • 38,875
  • 36
  • 142
  • 243
0
votes
1 answer

Instagram rate-limit header with no predictable value

According to documentation: https://www.instagram.com/developer/limits/ The rate-limit control works under a "time-sliding" window, the question is: What's the frequency of increasing for the remaining calls HTTP header (x-ratelimit-remaining)…
user1995400
  • 81
  • 1
  • 3
0
votes
1 answer

How to relieve a rate-limited API?

We run a website which heavily relies on the Amazon Product Advertising API (APAA). What happens is that when we experience a sudden spike in users it happens that we hit the rate-limit and all functions relying on the APAA shut down for a while.…
Kenny Meyer
  • 7,849
  • 6
  • 45
  • 66