Does Nginx have separate queuing mechanism for requests?

amehzenin nginx-forum at
Thu Oct 3 14:26:33 UTC 2013

Maxim Dounin Wrote:
> There is no queue in nginx, but there is queue in a listen socket 
> of your backend app.  It's called "listen queue" or "backlog" and 
> likely it's what preserves a request order for you.
> -- 
> Maxim Dounin
> _______________________________________________
> nginx mailing list
> nginx at

You meen application server has listen socket:

#include <sys/types.h>
#include <sys/socket.h>

int listen(int sockfd, int backlog);


And backlog defines the length of this queue. Nginx pushes requests to
app-server as they come and app-server take this requests from his own queue
when he is ready to serve next request. Am I right?

Posted at Nginx Forum:,243372,243406#msg-243406

More information about the nginx mailing list