In influxdb 1.5, the /write
path can accept multiple points in a POST
request.
What is a reasonable maximum payload size for this? 100 point? 1,000? 10,000? More?
Since you question uses the word "should" and I assume that any way of sending metrics to InfluxDB uses /write
under the hood, I feel that official docs actually has a generalized answer for your question:
...This means that batching points together is required to achieve high throughput performance. (Optimal batch size seems to be 5,000-10,000 points per batch for many use cases.)
In addition to that, InfluxDB write capabilities are directly related to your hardware sizing.
Note, that 10,000 is not an upper limit, but just an official recommendation. I believe InfluxDB can process way more than that in a single batch. After all, it is the best to check it empirically, particularly on your hardware.