thingsboard / thingsboard-edge

Apache License 2.0
98 stars 74 forks source link

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

Open volodymyr-babak opened 1 year ago

volodymyr-babak commented 1 year ago

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 commented 1 year ago

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