How MatrixGate works

MatrixGate (mxgate for short) is a high-performance streaming data loading tool located in bin/mxgate in the MatrixDB installation directory. MatrixGate currently supports loading data through the SDK or HTTP and STDIN API interfaces. The data format supports TEXT and CSV.

The logic of MatrixGate loading data is shown in the following figure:

MatrixGate schematic

  1. The data acquisition system collects equipment data or receives data sent by the equipment
  2. The acquisition system continuously sends data to the MatrixGate service process mxgate in concurrent microbatch mode
  3. The mxgate process and the master node (Master) process of MatrixDB communicate efficiently, communicating transactions and control information
  4. The data is sent directly to the data node (Segment) and written in parallel at high speed.

Notes!
For the basic usage of MatrixGate, please see [Quick Start] (/doc/4.8/tools/mxgate/get_started).