IPv4 or IPv6 while pushing data to influxdb?

influxdb
#1

When pushing data to influxdb from collectd/opentsdb/graphite, through a socket ,

Which is recommended, “:port_number”(IPv6) or “127.0.0.1:port_number”(IPv4) ?
and why ?

#2

@luv I’m not sure I understand this question. Are you talking about in the configuration? Can you post a concrete example?

#3

Yeah in configuration,

When we enable graphite/opentsdb/collectd ,

we can enable the port by 2 ways-

  1. port = “:port” —> This makes it an ipv6 socket
  2. port = “127.0.0.1:port” -----> this makes it an ipv4 socket

Which is better to use and why ?

#4

@Luv I don’t think there are significant differences between the two. Either one is acceptable and just as performant.

1 Like