Closed janvda closed 2 years ago
I understand that this error might be normal when overloading the influx db with write requests but how can I best throttle this ?
One simple solution would be that I write the next measurement once the previous measurement has been sent to the influx DB but the influxdb out
node I am using has no output, so that option is not possible.
Maybe instead of sending a single measurement, I should bundle them and write them in one call to the influx db.
One way might be to write the next measurement once the node indicates it's done. You could try wiring up a 'complete' node to do this. Once the node indicates it's done, you could trigger the next write. Hopefully this gives you enough to try that out. Here are some references.
Another thought may be to use the delay node:
https://cookbook.nodered.org/basic/rate-limit-messages
Hope that helps.
When writing at a very high rate measurements to my influx DB (on another device) I am getting the following error. Moreover when having that error node-red seems to hang for a while.