Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Google Drive rate limits #65

Open
nightkr opened this issue Jul 17, 2018 · 4 comments
Open

Google Drive rate limits #65

nightkr opened this issue Jul 17, 2018 · 4 comments
Labels
bug discuss dx developer experience

Comments

@nightkr
Copy link
Contributor

nightkr commented Jul 17, 2018

Google Drive only allows 1000 queries per user per 100 seconds, which makes our download logic pretty unhappy, especially during development.

@nightkr
Copy link
Contributor Author

nightkr commented Jul 17, 2018

Note that this only seems to affect full-size images, not thumbnails. I'm going to disable full-size downloads for now...

@indrif
Copy link
Contributor

indrif commented Jul 17, 2018

We should probably implement a configurable throttling mechanism for queues. This will not be the only case where we need to control the number of calls. Most APIs have some kind of rate limit and even though most of them might not be applicable to us there are some that will.

Probably needs some discussion.

@indrif
Copy link
Contributor

indrif commented Jul 17, 2018

Many of the ai services have pretty aggressive rate limits. Azure limits the calls to 20/s for example for their cognitive image recognition service.

@nightkr
Copy link
Contributor Author

nightkr commented Jul 17, 2018

Yeah, absolutely.

@nightkr nightkr added the dx developer experience label Jul 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug discuss dx developer experience
Projects
None yet
Development

No branches or pull requests

3 participants