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

Perform analytics with configurable interval - eg. 1 hour #26

Open
neoneye opened this issue Dec 2, 2022 · 0 comments
Open

Perform analytics with configurable interval - eg. 1 hour #26

neoneye opened this issue Dec 2, 2022 · 0 comments
Labels
miner LODA-RUST miner

Comments

@neoneye
Copy link
Collaborator

neoneye commented Dec 2, 2022

As of 2-nov-2022, there is a hardcoded CRONJOB_SYNC_INTERVAL_SECONDS that triggers miner_sync_simple.rb followed by analytics.
There is no separate interval that triggers just analytics.

Kotenok2000 wants a configurable interval for only analytics.

Analytics generates histograms, populates bloomfilters.
Here newly discovered programs affects the stats.
This is time consuming, so it's not something we want to happen for every discovered program.

Doing a miner_sync_simple.rs causes network traffic, and invalidates the analytics. This is time consuming.

Extend the config.toml with 2 parameters: miner_sync_interval=24h and analytics_interval=1h.

This can help finding a sweet spot.

@neoneye neoneye added the miner LODA-RUST miner label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miner LODA-RUST miner
Projects
None yet
Development

No branches or pull requests

1 participant