datadog-go icon indicating copy to clipboard operation
datadog-go copied to clipboard

uds: add exponential backoff write timeout

Open iksaif opened this issue 9 months ago • 0 comments

In order to avoid overloading the agent this gradually increase the writeTimeout up to the connectTimeout.

For uds-stream this will also reduce the re-connection rate when the agent is too slow to ingest all the packets, which is important because each new connection comes with a relatively big socket buffer.

iksaif avatar May 24 '24 11:05 iksaif