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

Apigee default dynamic-based Quota settings

For dynamic-based Quota settings: http://apigee.com/docs/api-services/content/rate-limit-api-traffic-using-quota#dynamic-product-based-quota-settings I find that when the Developer App has no attribute defined, like…
mparaz
  • 2,049
  • 3
  • 28
  • 47
0
votes
1 answer

Custom setting Pusher rate limit

I'm using a Rails after_save callback in one of my ActiveRecord models to send push notifications to the client, which then triggers a partial refresh. I'm using Pusher. Problem that I have is that I might be creating or updating up to 50 records…
keruilin
  • 16,782
  • 34
  • 108
  • 175
0
votes
1 answer

Predict delay before next retry on a rate-limited API

I'm using an API that rate-limits me, forcing me to wait and retry my request if I hit a URL too frequently. Let's say for the sake of argument that I don't know what the specific rate limit threshold is (and don't want to hardcode one into my app…
spiffytech
  • 6,161
  • 7
  • 41
  • 57
0
votes
1 answer

Exceeding Facebook API Rate Limit

How can I tell if my Facebook app is exceeding the rate limit, other than the obvious blocked API calls? What is the error message that is recieved? Does it show in the app insights?
0
votes
2 answers

github java api best way of authorize my application

I'm working with the github java api and i want to take info about repositories and their users. My question is how can i authorize my requests in order to have full access to the api (5000 requests/hour). Also it would be very hepful if there is…
fchatzia
  • 45
  • 8
0
votes
1 answer

Twitter API on Magento CMS error

I have a twitter feed in the sidebar of my magento built site, the following PHP calls to the twitter API and posts the feed as a list:
joshzee
  • 187
  • 1
  • 12
0
votes
1 answer

Is there a way to make many requests to Facebook API without get blocked?

I got a demand to make a webservice that centralizes informations of many facebook accounts (data, photos, friends). The problem is: it can receive lot of requests in short time. For that reason, i need an eficient way to get all information of…
0
votes
1 answer

How do I rate limit mysqldump from a remote host?

I'm running mysqldump from a remote machine to do periodic backups of our database and want to ensure it isn't using up all of the available bandwidth. The command I'm running is: mysqldump --compress --opt --add-drop-database --skip-lock-tables…
hafichuk
  • 10,351
  • 10
  • 38
  • 53
0
votes
1 answer

Restricting access to a public API

I have an API that I want to provide public access to, but I want to be able to limit access. I've been thinking about Twitter's model: Twitter allows developers to access the data using an api key (I think). Twitter must also access the data from…
dan gibson
  • 3,605
  • 3
  • 39
  • 57
0
votes
1 answer

Foursquare venue stats - all in one shot

I have a list of managed venues. There is a Venue Stats endpoint, which allows me to get statistics for given venue. Is there an API (existing or planned) for getting such stats for all managed venues, in one shot? It is easy to hit rate limit if…
filiprem
  • 6,721
  • 1
  • 29
  • 42
-1
votes
0 answers

Is there a reverse proxy that can limit on total bytes downloaded

Is there a reverse proxy solution out there that can limit on total bytes downloaded? Something like "allow 100 GB per day per API-key" (per IP address would also be fine). I am open to other solutions, just need a way to enforce a download quota. I…
ayazabbas
  • 24
  • 3
-1
votes
0 answers

Dribbble API, refresh follower count every 5 seconds

My issue is that Dribbble has a rate limiting for authenticated request. My code is simple : const loadDribbble = async () => { try { const getFollowers = await fetch(`https://api.dribbble.com/v2/user`, { method: "GET", …
D0rD74
  • 21
  • 4
-1
votes
1 answer

express-rate-limit blocks request by my client app IP and not by users IP

I have the following problem. I have two apps deployed on DigitalOcean, API (using Nodejs and express) and CLIENT (create-react-app). I want to add an api call rate limiter. I've tried using express-rate-limiter but, if I undertand correctly, it…
-1
votes
1 answer

How to consume messages from a queue

I have a scenario wherein I am supposed to consume messages from an AWS SQS. I know @SqsListener can be used or something like that? Thanks
-1
votes
1 answer

Limit Fastapi to process only 1 request at a time and after its completion process the next request

I'm trying to limit Fastapi to process 1 request at a time. And while that request is being executed, other requests gets response that the Server is busy.