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

WISH: Increase poll frequency #76

Open
HenrikBengtsson opened this issue Mar 25, 2024 · 1 comment
Open

WISH: Increase poll frequency #76

HenrikBengtsson opened this issue Mar 25, 2024 · 1 comment

Comments

@HenrikBengtsson
Copy link

HenrikBengtsson commented Mar 25, 2024

Currently, the CRAN incoming FTP server is polled once an hour:

schedule:
- cron: '0 * * * *'

Have you considered increasing this to, say, two or four times an hour? I doubt it would make a big dent in the total amount of traffic that the CRAN server sees. It might even help decrease the traffic by moving someone who's tracking their package manually to looking at CRANsays instead - once an hour is not enough for such use.

UPDATE: I see that https://nx10.github.io/cransubs/ is updated once every ten minutes.
UPDATE 2: It's updated only when someone access it, and I guess at most every 10 minutes.

@Bisaloo
Copy link
Member

Bisaloo commented Mar 28, 2024

Thanks for the report! I agree this would be desirable.

It needs to be followed by a series of performance improvements to avoid any unnecessary resource consumption if we increase the frequency.

My main unresolved question at the moment is how to consider historical data saving in this. Should we still save all occurrences (related to #52)? Or keep every hour with, e.g., a counter that will only save historical data every other or fourth run? 🤔

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