Forward single request to upstream server via proxy_store !!

shahzaib shahzaib shahzaib.cb at gmail.com
Mon Sep 22 19:06:56 UTC 2014


Is there any way with nginx that i could put an hold on the subsequent
requests and only proxy the single request for same file in order to
prevent filling up the tmp folder ? tmp is kept on filling up due to the
multiple users are accessing the same file and file is not downloaded yet.

On Sun, Sep 21, 2014 at 2:05 PM, shahzaib shahzaib <shahzaib.cb at gmail.com>
wrote:

> Hi,
>
>  When the multiple users request for same file on edge server via
> proxy_store and requested file is still not downloaded on the edge server,
> the nginx keeps on proxying those requests towards the origin server due to
> which network port is getting saturated on the edge server and file
> downloading taking 1~2hours. Is there a way that nginx would forward the
> only single request towards the origin server and download the requested
> file while holding back the other users and only serve them when the file
> is successfully downloaded on the edge server ?
>
> This way Incoming port(nload) on edge server will not be saturated !!
>
> Regards.
> Shahzaib
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140923/51ccc554/attachment.html>


More information about the nginx mailing list