Skip to content
New issue

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

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

Already on GitHub? # to your account

More efficient code fetching strategy #5

Open
cainwatson opened this issue Nov 28, 2020 · 0 comments
Open

More efficient code fetching strategy #5

cainwatson opened this issue Nov 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@cainwatson
Copy link
Owner

Currently, on each page load, two requests are made to GitHub. This should be fine for a single user, but if multiple people were to use the app, we could potentially hit rate limits.

We could potentially create a CodeFetcher GenServer that fetches a batch of code snippets every so often and then stores them as a bank that can be used to pull from instead.

@cainwatson cainwatson added the enhancement New feature or request label Nov 28, 2020
@cainwatson cainwatson changed the title More efficient code fetching strategy for multiple users More efficient code fetching strategy Dec 7, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant