In the data collection method-passive mode (see my other blog post: monitoring software-data collection method), after the monitoring terminal collects data, it submits the monitoring data to the monitoring server, the monitoring server displays and processes metric data in two ways: direct mode and data transfer mode.
The so-called direct method is that the monitoring terminal directly submits the data to the monitoring server to display the software.
You can directly send the data to the monitoring server to display the software.Timely. Timeliness is the biggest advantage of direct access. However, there are several problems with the direct method: first, the monitoring terminal obtains a large amount of monitoring information and a large number of monitoring terminals, so the monitoring display software has a large bearing capacity. Second, direct data cannot be saved. Third, the software usually needs to process the monitoring data after obtaining the monitoring data. In particular, when the monitoring data processing is large, the software occupies system resources. Fourth, when the monitoring data of the monitoring terminal is directly handed over to the display software without buffering, it is easy to cause loss of monitoring data. Fifth, the monitoring server cannot be distributed, the monitoring terminal can only upload data to a specified Monitoring Server.
The Data Transfer Mode means that the monitoring terminal first delivers the data to the Data Receiving Software or storage software of the monitoring server, and then the display software of the monitoring server obtains data from the data receiving software or storage software for display. The advantages and disadvantages of the two methods are described below:
The metric data in Data Transfer Mode needs to be displayed only after a data dumping. Therefore, the data transfer mode canReal-time. Because data receiving software or storage software is used for data transfer, the data storage, data buffering, and data processing can be well performed, and the distributed deployment of monitoring server display software can be realized, in addition, because the monitoring display software does not directly interact with the monitoring terminal, the monitoring server shows that the software occupies less system resources. However, this is also because data needs to be transferred once, and the data transfer method can only be monitored in real time. In addition, data receiving software or storage software in data transfer mode is usually deployed on a separate hardware server, which may cause additional hardware resources.
The following lists the advantages and disadvantages of the two data display and processing methods:
collection method |
advantages |
disadvantages |
direct mode |
LTimelyUpload the monitoring data to the monitoring display so that the user can performMonitoringAnd can directly display certain performance data. |
LThe monitoring information obtained by the monitoring terminal is large and the monitoring terminal is large, so the carrying capacity of the monitoring display software will be large. LDirect data cannot be saved. LUsually, the display software needs to process the monitoring data after obtaining the monitoring data. In particular, when the monitoring data processing is large, the display software occupies system resources. LWhen the monitoring data of the monitoring terminal is not buffered, it is directly handed over to the display software, which may cause loss of monitoring data. LThe monitoring server cannot be distributed. Only one monitoring server can be set. |
Data Transfer Mode |
LReal-time Monitoring LData Storage LData Buffer LSecondary data processing and re-Display LDistributed deployment of monitoring server display software LThe monitoring display software does not directly interact with the monitoring terminal and consumes less resources. |
LMetric data cannot be displayed in time LBecause data receiving software or storage software is used, additional hardware devices are required. |