What does the deferred option mean in NGINXs listen directive?

Nginx

Nginx Problem Overview


I've seen example NGINX configurations with the "deferred" option added to the listen directive

server { 
  listen 80 default deferred;
  ... 
}

I can't work out what it does (and whether or not I should use it) and the documentation doesn't make too much sense to me

> deferred -- indicates to use that postponed accept(2) on Linux with > the aid of option TCP_DEFER_ACCEPT

Can anyone explain what this option is for?

Nginx Solutions


Solution 1 - Nginx

TCP_DEFER_ACCEPT can help boost performance by reducing the amount of preliminary formalities that happen between the server and client.

You can read more about it http://www.techrepublic.com/article/take-advantage-of-tcp-ip-options-to-optimize-data-transmission/">HERE</a>;.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionbodaciousView Question on Stackoverflow
Solution 1 - NginxDayoView Answer on Stackoverflow