Tucsondirect and others: final comments on worker graphs
Posted: Fri Aug 14, 2015 9:16 am
I wanted to get final comments before I implement the worker data improvements tuscondirect and two others have requested this weekend.
After some research, I propose the following:
After some research, I propose the following:
- Instead of being deleted as it is now, historical worker data will be stored every minute, resulting in a total of about 100 million rows in the table with current usage.
- The worker history will be purged every Monday before the full database backups, retaining 4 weeks of data.
- On the "details" view of the worker status screen, a button will be available to generate a chart of various worker parameters over time. Generating the chart will take a long time and require 10MB bandwidth, so it will only be available by clicking the button.
- The charts will allow users to zoom in to a 1-minute granularity to see values of hashrate, work restart time, difficulty, and all the other values. They can also be zoomed out to see the full 28-35 days of data.
- To save disk space for users who don't care about this data, workers that do not have an n=[name] password argument provided will not have their data archived and no charts will be available for them.