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

Cache parsed repositories to avoid github rate limiting #13

Closed
hasheddan opened this issue Feb 21, 2020 · 0 comments · Fixed by #17
Closed

Cache parsed repositories to avoid github rate limiting #13

hasheddan opened this issue Feb 21, 2020 · 0 comments · Fixed by #17

Comments

@hasheddan
Copy link
Member

Currently, we hit Github API rate limiting extremely quickly for our queries to find all CRD types in a repository (search), and relatively quickly for parsing each of those CRDs (get file contents). These results should be cached such that we do not have to hit Github every time they are requested.

A first step could be authenticating requests such that the limit for fetching CRD file content will rise from 60 to 5000 per hour, and 10 to 30 per minute for finding CRDs in a repository.

The next step will be to cache results and crawl repos on a periodic basis based on incoming requests for content.

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

Successfully merging a pull request may close this issue.

1 participant