Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
January 13, 2015 08:02AM
Hello!

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.

The idea was to allow a _single_ cache to be on multiple file
systems (e.g., via symlinking individual directories from
different disks). On the other hand, may be your approach is
simplier and worth considering (especially given the fact that in
most cases separate cache path will be required anyway, to
maintain max_size, and we have variables support now to facilitate
this). Valentin is currently working on fixing the code, and I
asked him to consider your approach as well.

--
Maxim Dounin
http://nginx.org/

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

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

Piotr Sikora 988 January 05, 2015 10:18PM

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

Roman Arutyunyan 350 January 06, 2015 07:54AM

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

Piotr Sikora 329 January 06, 2015 02:12PM

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

Maxim Dounin 339 January 12, 2015 12:50PM

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

Piotr Sikora 383 January 12, 2015 06:48PM

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

Maxim Dounin 402 January 13, 2015 08:02AM

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

Roman Arutyunyan 355 February 02, 2015 02:38PM

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

Piotr Sikora 322 February 05, 2015 07:44PM



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

Online Users

Guests: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready