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

Lower API cost of refreshing videos #3

Open
eliihen opened this issue Dec 29, 2017 · 0 comments
Open

Lower API cost of refreshing videos #3

eliihen opened this issue Dec 29, 2017 · 0 comments

Comments

@eliihen
Copy link
Contributor

eliihen commented Dec 29, 2017

I am currently hitting the resource cap with my 70+ subscriptions, and it is triggering other issues like #2. We should figure out some way to reduce the API resource usage to scale better.

Currently the app has a local database to store the metadata of all videos that have been fetched. Then it runs a "cron"-job every 5 minutes which does a search on each channel you have subscribed to. This fetches the most recent videos and updates the db, but is also very intense in terms of API usage and does not scale very well. Can we do this some better way?

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

No branches or pull requests

1 participant