Results 1 to 3 of 3

Thread: How to set TCP_NODELAY?

  1. #1

    Default How to set TCP_NODELAY?


    I have several micro services on the same OpenSuse 15.2 box and noticed that receiving data can take several seconds whereas sending data is instantaneous. The data is generally one or 2 kilobytes or less. So I was thinking I would like to try turning on the TCP_NODELAY flag to see if the performance increased. Since everything should be taking place in memory I figured the receiving should be fast just like the sending. So how do I set the flag? Any other suggestions about improving the speed would be appreciated.


  2. #2
    Join Date
    Sep 2012

    Default Re: How to set TCP_NODELAY?

    TCP_NODELAY is socket option that can only be set by application using socket to send data. You should consult documentation for your application how to do it.

  3. #3

    Default Re: How to set TCP_NODELAY?

    Okay thank-you.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts