I
I
Ivan Melnikov2019-11-17 21:35:20
Database
Ivan Melnikov, 2019-11-17 21:35:20

How to organize logging for polling a large number of unit devices?

Logging architecture question.
There are, say, 1000 devices (modems, for example).
Every minute each device is interrogated and the parameters returned by the device are stored for a) history and b) for fast interactive plotting, analytical reports, statistical studies, etc. The
question is how to save.
As long as I see it.
First, the logs are written to a file. A separate file for each day.
Then the logs are transferred to some kind of columnar DBMS, say at 00:00 - the whole file at a time.
Question 1: How good is this architecture? What can be improved?
Question 2: What is the best DBMS for these purposes?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-11-17
@Zoominger

Question 1: How good is this architecture? What can be improved?

Beautiful architecture, as it is usually done, just throw off more often, but less.
With such volumes of MySQL for the eyes.

Y
Yerlan Ibraev, 2019-11-18
@mad_nazgul

For logging and monitoring, there is an EKL solution . You can try it.
Also, instead of files, you can try kafka .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question