This post is more a question then a problem.
I Node Red i collect all the data from different PLC’s. From Node Red we go through a [[inputs.influxdb_listener]] plugin to telegraf Agent and then to InfluxDB.
Everything works fine but before i upscale the system i want to know if the basic are good or need improvements and the 2 points i thought about are the following:
- I have opted to use a Telegraf Agent because in the future we want to use different servers for each departments and i read that multiple Telegraf can write to a single InfluxDB server. But is there a certain protocol in use for (that telegraf is using checking of someone else is already writing)or is it the same if i write directly from different Node red clients to InfluxDB (without looking if someone is sending data already).
2.For InfluxDB it’s scales up the performances if you sort your tags, timestamp, write in batches,…
In my case do i still have doing all that before i write to telegraf or is telegraf doing that already with the data i give him. And do i best write in batches or intervals to telegraf or can i just input new data when i finished collecting them in node red regardless the size?
I hope i make some sense
Thanks at advance!