getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
374 stars 156 forks source link

Unresponsive with many Antminers #229

Closed vancrypto closed 3 years ago

vancrypto commented 6 years ago

The Dashboard is unresponsive with hundreds of Antminer S9's while running on a Raspberry Pi 3 Model B.

michelem09 commented 6 years ago

Yep, I know, unfortunately Minera is not able to handle hundreds of machines.

gnanet commented 6 years ago

I wanted to wait for @michelem09 response, because i remember, he already mentioned this somewhere.

I was thinking a lot about the topic already, and a logical solution would be to have some background daemon, that continously polls the huge amount of networked miners, and a frontend could use the timestamp of the responses to see non-responding miners, and to create the statistical information the mining-operator wants to see,

michelem09 commented 6 years ago

Sure it's possible and probably the right way to go, the problem is the lack of time to put my hands on Minera.

gnanet commented 6 years ago

It is still hypothesis, i only wanted to note, that managing 50-100 + networked miners is not an easy task. Additionally to the lack of time, my missing/insufficient knowledge of programming is also a show stopper.

michelem09 commented 6 years ago

I know, you need lot of things to be setup, starting from a DB to store stats (now there is a Redis only for basic stuff), then you need to setup a polller that regurarly asks for stats to every miner, store stats in DB and via a websocket sends update to the browser. Not so hard but not so easy too.