Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exponential Backoff #18

Open
rchedrese-va opened this issue Jan 2, 2015 · 2 comments
Open

Exponential Backoff #18

rchedrese-va opened this issue Jan 2, 2015 · 2 comments

Comments

@rchedrese-va
Copy link

I'm loving this set of components, but I frequently run into "User Rate Limit Exceeded" quota errors. I've implemented Exponential Backoff for retrying requests but I think it would be great if this functionality was part of the google-analytics-query element.

@philipwalton
Copy link
Member

@rchedrese-va that's not a bad idea and something I can definitely consider. I'm curious though, have you tried increasing your per-user rate limit? The default setting is 1 requests/second/user but you can increase it to 10 to avoid situations like this. If you're the primary user of this project or GA view, then there's no harm in raising the limit.

@rchedrese-va
Copy link
Author

@philipwalton I do have it set to 10 requests per second but I'm still exceeding that limit. My particular use case is for a performance dashboard for my company's products. We have 6 products and I make two queries per product to generate the dashboard.
I'm not sure how common exceeding this limit is but I've run into it multiple times, and found exponential backoff to be a great solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants