Open akalongman opened 5 years ago
Any ideas?
You can write to Telegraf, but why should this increase performance?
@andig Telegraf service is running on the same machine, but InfluxDB is running on another machine, right? So, I want to avoid network overhead
Telegraf service is running on the same machine, but InfluxDB is running on another machine, right?
yes
So, I want to avoid network overhead
You mean by using Telegraf for batching writes if your client is not capable to do that?
You mean by using Telegraf for batching writes if your client is not capable to do that?
I do not want to use blocking network requests from my PHP app. Even batch requests, because I think it is better to write in locally running Telegraf service via socket or some other protocol.
See https://www.influxdata.com/blog/influxdb-2-migration-path-instrumentation/ for how to use input listener/ influxdb output. I have not tested if this really improves performance.
Is it possible to send data from PHP via Telegraf service, instead of writing directly in InfluxDB? It could increase performance by multiple times