thingsboard-edge icon indicating copy to clipboard operation
thingsboard-edge copied to clipboard

[Feature Request] the way that tb deal with data from edge is not effecient

Open volodymyr-babak opened this issue 2 years ago • 1 comments

Original issue from thingsboard: https://github.com/thingsboard/thingsboard/issues/7719

the way that tb deal with data from edge is not effecient,that's part of the code in TelemetryEdgeProcessor processPostTelemetry
for (TransportProtos.TsKvListProto tsKv : msg.getTsKvListList()) {
}

that means tb will send telemetry to rule engine one by one,which will reduce the speed that it will process。
if edge tb send batch of data to tb,it will not cause poor efficiency

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

volodymyr-babak avatar Jan 30 '23 15:01 volodymyr-babak

This ticket initially was created by https://github.com/john1337

volodymyr-babak avatar Jan 30 '23 15:01 volodymyr-babak