More efficient code fetching strategy
Opened this issue · 0 comments
cainwatson commented
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.