hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Shared state for metrics #53

Open jonyrock opened 6 years ago

jonyrock commented 6 years ago

For example, we need to detect patterns in for few metrics together like in merge sort. Another example is: https://github.com/hastic/hastic-server/issues/44 where apply model to predict class. So we need to keep in memory model for few pattern predictors.

jonyrock commented 6 years ago

One more example: https://github.com/hastic/hastic-server/issues/13

jonyrock commented 6 years ago

Ok, so I think we should have a worker for each dashboard.

It will allow us to have shared only between our patterns cache and we will naturally app horizontal scaling to our analytic system.

Also we need to have files for "messaging" separaeted cuz we can update files in different threads

or: https://github.com/hastic/hastic-server/issues/57 with https://github.com/hastic/hastic-server/issues/58