Slice module
Anatoli Marinov
a.marinov at ucdn.com
Fri Oct 2 06:14:47 UTC 2015
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 at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20151002/bd53cc96/attachment.html>
More information about the nginx-devel
mailing list