Welcome! Log In Create A New Profile

Advanced

Understanding NGX_HTTP_SUBREQUEST_WAITED

Brian Moran
December 10, 2009 05:38PM
I am trying to understand the use of NGX_HTTP_SUBREQUEST_WAITED in the
context of a filter that issues multiple sub-requests. I'm starting with the
ngx_zip_module by Evan Miller; if I construct a recipe for an archive that
has 100 files in it (each file is on an upstream server), I see that a large
number (approaching 100 :-) ) of connections are opened to the upstreams
simultaneously.

Changing the call to ngx_http_subrequest to use NGX_HTTP_SUBREQUEST_WAITED
as the args parameter, recompiling, and restarting, I still see a large
number of open connections simultaneously to the backends -- it's unclear
that subrequests are being serialized, or that there was any change in
behavior.

How can I determine if indeed the connections are being serialized vs. done
in parallel?

Thanks,
Brian Moran
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Understanding NGX_HTTP_SUBREQUEST_WAITED

Brian Moran 2976 December 10, 2009 05:38PM

Update on NGX_HTTP_SUBREQUEST_WAITED

Brian Moran 1172 December 10, 2009 06:02PM

NGX_HTTP_SUBREQUEST_WAITED continued...

Brian Moran 1577 December 11, 2009 12:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 98
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready