A
A
anon8112020-04-13 13:00:48
Python
anon811, 2020-04-13 13:00:48

What is the best way to organize the collection of telemetry data from workstations?

Hello!
Preamble: for academic purposes, I am writing an application for accounting for requests for maintenance, repair, etc. park of office equipment, also screwed inventory with a warehouse. I chose Flask as a framework (although this is not particularly important).
I want to organize the collection of telemetry data from workplaces (CPU utilization, temperatures, etc.).
As I see it: there is a small application on the client, it receives data using Dll from LibreHardwareMinitor, transfers it by command from the server via a web socket in Json format, the server periodically polls everyone and writes the received data to the database.
The question itself: tell me, please, in which direction to look - asynchrony, multiprocessing or multithreading, maybe some example (don't take it for impudence).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2020-04-15
@2ord

There are 2 ways to monitor: pull (Prometheus), push (influxdb). In the first case, each monitored station issues metrics through a small HTTP service that is collected by the monitoring server. In the second, the client on the station itself initiates a connection to the monitoring server and transmits the metrics.
Both methods have advantages and disadvantages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question