Forward single request to upstream server via proxy_store !!
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>
> 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 !!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx