TCP Support
Like UDP, I would request to have TCP options also available. I know HTTP is there, but the overheads in TCP are much lesser than HTTP.
If you batch your writes you can significantly reduce this overhead. Have you tried that?
On Wednesday, November 18, 2015, manishjain002 [email protected] wrote:
Like UDP, I would request to have TCP options also available. I know HTTP is there, but the overheads in TCP are much lesser than HTTP.
— Reply to this email directly or view it on GitHub https://github.com/influxdb/influxdb/issues/4838.
As per my understanding, batch write is when the collector collects the data (irrespective of communication interface) and write in a batch. In our case, we want to optimize the network usage/bandwidth by our field sensors. Thus TCP will help in providing assurance of delivery at the same time less overhead.
On Thu, Nov 19, 2015 at 2:43 AM, otoolep [email protected] wrote:
If you batch your writes you can significantly reduce this overhead. Have you tried that?
On Wednesday, November 18, 2015, manishjain002 [email protected] wrote:
Like UDP, I would request to have TCP options also available. I know HTTP is there, but the overheads in TCP are much lesser than HTTP.
— Reply to this email directly or view it on GitHub https://github.com/influxdb/influxdb/issues/4838.
— Reply to this email directly or view it on GitHub https://github.com/influxdb/influxdb/issues/4838#issuecomment-157864972.
+1 it would also really help to be able to read over TCP! We currently ran into performance problems due to known limitations (HTTP is slow + connects for every request; packing multiple queries into one request is hard due to concatenation rules + missing JOINS).
+1 Came here for this issue. If you have several high speed sensors attempting to write, buffering at the source gets more and more susceptible to data loss. For everything Influx gets right (which is so much!), it's surprising that the recommended interface is a stateless text based protocol.
Is there any buy-in or plan from the team to enable a TCP endpoint similar to the UDP endpoint? Has testing been done to prove that HTTP overhead is slowing down performance enough to get rid of it? What would be involved in porting the UDP handler to a TCP option?
+1
+1
👍
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.