[PATCH] Upstream: add use_temp_path=tmp to proxy_cache_path and friends

Roman Arutyunyan arut at nginx.com
Mon Feb 2 19:37:23 UTC 2015


Hello Piotr,

We finally came back to the idea you suggested in this thread.
Now use_temp_path option creates a separte temp hierarchy in the
cache directory.  This solution looks simpler than prefix-based
temporary files.

Thanks for cooperation!

On Mon, Jan 12, 2015 at 03:47:27PM -0800, Piotr Sikora wrote:
> Hey Maxim,
> 
> > The downside of this approach is that with a separate temp
> > directory cache can't be effectively spread over multiple file
> > systems.
> 
> I disagree, we've been using exactly this structure to spread cache
> over multiple file systems (via multiple cache paths, each with its
> own "tmp") for the last 2 years.
> 
> Best regards,
> Piotr Sikora
> 
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
> 

-- 
Roman Arutyunyan



More information about the nginx-devel mailing list