Anatoli Marinov
October 02, 2015 02:16AM
Thanks Roman! I tested it briefly and it looks good. Next days I think to
test it in limited production environment with high traffic load (~10Gb).

On Tue, Sep 29, 2015 at 7:00 PM, Roman Arutyunyan <arut@nginx.com> wrote:

> Hello,
>
> I'm happy to publish the experimental Slice module. The module makes it
> possible to split a big upstream response into smaller parts and cache them
> independently.
>
> The module supports range requests. When a part of a file is requested,
> only the required slice upstream requests are made. If caching is enabled,
> future requests will only go to upstream for missing slices.
>
> The module adds
>
> - "slice" directive setting the slice size.
>
> - "$slice_range" variable, which must be added to the cache key
> expression and passed to upstream as the Range header value.
> The variable holds current slice range in the HTTP Range field format.
>
>
> Build
> -----
>
> Use the --with-http_slice_module configure script option.
>
>
> Example
> -------
>
> location / {
> slice 1m;
>
> proxy_cache cache;
> proxy_cache_key $uri$is_args$args$slice_range;
> proxy_set_header Range $slice_range;
> proxy_cache_valid 200 206 1h;
> proxy_pass http://127.0.0.1:9000;
> }
>
>
> Known issues
> ------------
>
> The module can lead to excessive memory and file handle usage.
>
>
> Thanks for testing.
>
> --
> Best wishes,
> Roman Arutyunyan
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Slice module

Roman Arutyunyan 4640 September 29, 2015 12:02PM

Re: Slice module

Anatoli Marinov 1518 October 02, 2015 02:16AM

Re: Slice module

Woon Wai Keen 849 October 05, 2015 03:24PM

Re: Slice module

Roman Arutyunyan 936 October 05, 2015 05:44PM

Re: Slice module

MartijnB 727 February 17, 2016 04:22AM

Re: Slice module

Roman Arutyunyan 805 February 18, 2016 12:16PM

Re: Slice module

MartijnB 935 February 23, 2016 03:44AM



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

Online Users

Guests: 257
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