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

GUI caching optimisation #167

Closed
jholdstock opened this issue Mar 29, 2020 · 1 comment
Closed

GUI caching optimisation #167

jholdstock opened this issue Mar 29, 2020 · 1 comment
Assignees

Comments

@jholdstock
Copy link
Member

Data cached for the GUI includes:

  • Total pool hash rate
  • Confirmed blocks mined by pool
  • Work quotas describing reward distribution for accounts

The whole cache is currently refreshed once every 15 seconds. This is acceptable for the hash rate as it changes often, and it is simply a variable held in memory, but the other data is pulled from the database and should not be polled so often. Instead, we should only update the cache whenever the underlying data is changed.

@dnldd
Copy link
Member

dnldd commented Apr 22, 2020

This has been resolved fully by #183, #185, #187 and #195.

@dnldd dnldd closed this as completed Apr 22, 2020
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