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

Design Patterns/Models #81

Open
anselal opened this issue Mar 30, 2018 · 0 comments
Open

Design Patterns/Models #81

anselal opened this issue Mar 30, 2018 · 0 comments

Comments

@anselal
Copy link
Owner

anselal commented Mar 30, 2018

@sergioclemente Here we can talk about Design Pattern/Models (DP) for scaling AntminerMonitor.

A friend suggested two DPs:

  • Memory Model
  • Database Model

Both store data in memory, the former in RAM and the latter in the DB (disk).
With this approach we have a background task querying the miners and storing the data into memory of db. The View displays all data that are currently in the memory/database.
The Pros about this approach is that we eliminate the delay of waiting till we query all the miners.

Any ideas ?

Repository owner locked and limited conversation to collaborators Mar 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant