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
2 answers

Avoiding rate-limiting (throttling) in java (IRC)

So I've been writing a java-based irc-bot, which is fairly simple. Makes a socket connection to a server, attaches buffered readers / writers to the socket, and then reads / writes using those buffers. I've not run into issues except for when I was…
A_Elric
  • 3,508
  • 13
  • 52
  • 85
0
votes
1 answer

Parse API Limit/requests and reporting on Parse.com

We are building a new application in parse and are trying to estimate our requests/second and optimize the application to limit it and keep it below the 30/second. Our app, still in development, makes various calls to parse. Some only use 1…
0
votes
0 answers

Node.js get data from github api

Ok here's the deal, I need to get data from Github API say gists from multiple repositories. I don't want to save any data, should I implement streams or is there some other way? in either cases what are the modules I can use to achieve this? There…
Nikhilesh
  • 1,711
  • 2
  • 15
  • 19
0
votes
1 answer

Instagram API access rate limit information with specific PHP Class

I am using this PHP Class for Instagram's API: https://github.com/cosenary/Instagram-PHP-API. It works perfectly but I can't seem to access the rate limit information for each call I make. Inside the class, this is the method that makes the…
user3879583
0
votes
1 answer

How to rate limit a Heroku Rails app?

I built a app on Heroku in Rails, and someone wrote a bot to do a GET on my website over and over. Is there a way I can stop them from doing this?
kidcapital
  • 5,064
  • 9
  • 46
  • 68
0
votes
1 answer

ratelimit in django giving error Key 'rl:xxxx' not found

I am trying to use ratelimit in my Django site to restrict the number of requests from one IP in some time. Following is what I am trying. urls.py url(r'^test/$', 'myapp.views.test', name='myapp.views.test'), views.py @ratelimit(key='ip',…
Niraj Chapla
  • 2,149
  • 1
  • 21
  • 34
0
votes
2 answers

GMail API: Queuing tasks so they don't get rate limited

I am trying to get the emails of a bunch of users on our service. I am first getting a list of messages, and if the message is not in the DataStore, then we fetch them. However, I'm using the deferred library to avoid the DeadlineExceeded error. The…
Debnath Sinha
  • 1,087
  • 1
  • 12
  • 25
0
votes
1 answer

Facebook and Twitter API Rate Limit - Application Authentication depends on IP?

The question seems duplicated, yet it's not. The question seems silly and it is. If I want to search for a certain word in tweets, I would send a request to the Twitter API. I can send the request: Using user authentication: which requires logged…
Abdalrahman Shatou
  • 4,550
  • 6
  • 50
  • 79
0
votes
1 answer

Failed attempts to bypass "Rate limits" and other Twitter API errors

My codes try to collect tweets about "cars" on 2014-10-01. In attempt to handle the rate limit or any other Twitter-related errors (ie. over capacity), I implement code at the end telling the program to stop and wait for 20min whenever a TweepError…
KubiK888
  • 4,377
  • 14
  • 61
  • 115
0
votes
1 answer

Sending emails where Amazon SES

I am sending 10,000 emails per day. So that emails do not end up in the spam, I decided to use the service of Amazon SES. After testing, I saw that the service Amazon sends 700 emails per 27 minutes. This is a very long time, given the fact that I'm…
0
votes
1 answer

Filtering input by frequency (onoff debounce)

I'm using node on raspberry pi and module onoff to get input. I want to only run function B if the function A is called twice in one minute var gpio = require('onoff').Gpio; var sensor = new gpio(7, 'in', 'falling'); var timeout = 60000; var…
Axuttaja
  • 303
  • 2
  • 8
0
votes
1 answer

Distance matrix quota request not increasing

I am getting rate limited in Google Distance Matrix API. I have requested to increase distance matrix quota hits, my billing is enabled but than also it not increasing request limit. We have filled the form and we received the email. I am not able…
0
votes
1 answer

Rate Limit in Twitter REST API - a clarification needed

I am using R to access Twitter's REST API. From the developers website(https://dev.twitter.com/docs/rate-limiting/1.1/limits) I understand that twitter has a rate limit of 450 every 15 mins for searching tweets. My question is: What is the rate I…
Sylvia
  • 315
  • 2
  • 17
0
votes
1 answer

Server Error upon joining many rooms in a short period of time

My application joins about 50 rooms for one user on one connection all at once. After a couple rooms successfully join I start to get a server error return on some of the rooms. There error is always the same, here it is: Error: Server Error at…
Matt
  • 5,547
  • 23
  • 82
  • 121
0
votes
1 answer

Instagrm Rate limit issue

I am developing a mobile application that will request Instagram server for searching photos with the hashtags.Client id is passed with the request. Since the request limit provided by Instagram is 5000/hour so my question is:- While requesting api…
Ishan
  • 1
  • 3