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

Stat management #48

Closed
MaynardMiner opened this issue Mar 20, 2019 · 0 comments
Closed

Stat management #48

MaynardMiner opened this issue Mar 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MaynardMiner
Copy link
Owner

Because a good amount of users work from USB- Reducing as many read / writes is always favorable.

This proposal aims to do the following:

1.) Stats are pulled at the start of SWARM from stats folder.
2.) Stat table will be edited while SWARM is running, and the stats time periods will stored on the $stats variable.
3.) $stats will be written to filed when appended. This will now only be the only time SWARM writes the file.

This will multiply the stat variable exponentially, but I imagine overall the size will not have an impact on the running of SWARM and its overall memory use.

Furthermore, I plan to use dynamic arrays to improve the speed, as it seemed to greatly improve the speed of loading of miners and pools in linux.

@MaynardMiner MaynardMiner added the enhancement New feature or request label Mar 20, 2019
@MaynardMiner MaynardMiner self-assigned this Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant