You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using web services usually we must respect some rate limits.
Examples:
max 10000 hits per day
no more than 5 hits per minute
minimum 500ms between hits
...
It would be nice to have a queue that is configurable with these rules, then one would just add jobs being sure that the web service's limits will be respected.
Does it smake sense?
Is this something that would be nice to have in async or it would be better implemented in a separate module?
Cheers,
Giacomo
The text was updated successfully, but these errors were encountered:
For simple cases there's the throttle function in underscore.js, but for actual production use accessing an API having the async module keep track of API calls in memory wouldn't scale to multiple processes, so I think it would be limited in application. I don't think we should look to include this in async at the moment.
Hi,
when using web services usually we must respect some rate limits.
Examples:
It would be nice to have a queue that is configurable with these rules, then one would just add jobs being sure that the web service's limits will be respected.
Does it smake sense?
Is this something that would be nice to have in async or it would be better implemented in a separate module?
Cheers,
Giacomo
The text was updated successfully, but these errors were encountered: