|
| 1 | +# DataStorage |
| 2 | + |
| 3 | +The Neuron DataStorage plugin is an open-source northbound plugin that writes data to [Datalayers](https://docs.datalayers.cn/datalayers/latest/) using [Arrow Flight SQL](https://arrow.apache.org/docs/format/FlightSql.html#arrow-flight-sql). It extends Neuron's capability to store time-series data. |
| 4 | + |
| 5 | +Upon startup, Neuron creates a singleton *DataStorage* node automatically. Users cannot manually create or delete this node. |
| 6 | + |
| 7 | +You can view the *DataStorage* node in the **North Apps** tab throw the dashboard. |
| 8 | + |
| 9 | +## Application Configuration |
| 10 | + |
| 11 | +The following parameters are available when configuring the DataStorage node: |
| 12 | + |
| 13 | +| Field | Description | |
| 14 | +| ------------------------------- | ------------------------------------------------------------ | |
| 15 | +| **Host** | IP address of the Datalayers server | |
| 16 | +| **Port** | gRPC service port of the Datalayers server | |
| 17 | +| **Username** | Datalayers username | |
| 18 | +| **Password** | Datalayers password | |
| 19 | + |
| 20 | +:::tip |
| 21 | +When submitting the configuration, the connection to Datalayers will be verified, and if the connection fails, the configuration will be rejected. |
| 22 | +::: |
| 23 | + |
| 24 | +## Add Subscription |
| 25 | + |
| 26 | +After plugin configuration, data forwarding can be enabled via southbound device subscriptions. |
| 27 | + |
| 28 | +Click the device card or row on the **North Apps** page, then **Add Subscription** on the **Group List** page. And set the following: |
| 29 | + |
| 30 | +- **South device**: Select the southbound device you want to subscribe to. |
| 31 | +- **Group**: Select a group from the southbound device'. |
| 32 | + |
| 33 | +## Data Upload |
| 34 | + |
| 35 | +Neuron DataStorage uses Arrow's columnar format for data transmission, which eliminates serialization and deserialization during transport. This significantly reduces latency and performance overhead, improving system throughput. |
| 36 | + |
| 37 | +## Operation & Maintenance |
| 38 | + |
| 39 | +On the device card or device row, you can click on the **Data Statistics** icon to mreview the application's operation status and track the data received and sent. |
0 commit comments