You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rokcarl - I think it's advocating for all three flags simultaneously.
When set indicates to always queue non-full frames. Later the user clears this option and we transmit any pending partial frames in the queue. This is meant to be used alongside sendfile() to get properly filled frames when the user (for example) must write out headers with a write() call first and then use sendfile to send out the data parts. TCP_CORK can be set together with TCP_NODELAY and it is stronger than TCP_NODELAY.
Either way, I'm not convinced by the article, especially after reading Nginx High Performance . For my use-case as a reverse proxy, just setting tcp_nodelay worked fine and the other two switches yielded no improvements, as expected.
The following article suggests that mixing
sendfile
,tcp_nodelay
andtcp_nopush
makes no sense.I'd love to hear your thoughts on this and can really many of the resources be wrong about it?
The text was updated successfully, but these errors were encountered: