Welcome! Log In Create A New Profile

Advanced

Re: proxy buffering for media files?

Maxim Dounin
September 04, 2013 06:46AM
Hello!

On Wed, Sep 04, 2013 at 07:12:22AM +0300, wishmaster wrote:

[...]

> > > What is a common use case for using proxy_buffering? Since it's a default
> > > option, I assume it's commonly used and for good reason. I'm just having a
> > > hard time applying the thought process to my specific setup.
> >
> > As long as your backend servers aren't limited on the number of
> > connections they can handle, best aproach would be to keep
> > proxy_buffering switched on, but switch off disk buffering using
> > proxy_max_temp_file_size.
> >
> Could you explain why this approach is not suitable for case
> when backend servers are limited on number of connections.

If backends are connection-bound, in many cases it's more
effective to buffer responses to disk instead of keeping backend
connections busy.

--
Maxim Dounin
http://nginx.org/en/donation.html

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

proxy buffering for media files?

bkosborne September 03, 2013 10:39AM

Re: proxy buffering for media files?

bkosborne September 03, 2013 10:44AM

Re: proxy buffering for media files?

Maxim Dounin September 03, 2013 10:58AM

Re[2]: proxy buffering for media files?

artem September 04, 2013 12:14AM

Re: proxy buffering for media files?

Maxim Dounin September 04, 2013 06:46AM

Re: proxy buffering for media files?

bkosborne September 04, 2013 10:45AM

Re: proxy buffering for media files?

Maxim Dounin September 04, 2013 11:20AM

Re: proxy buffering for media files?

bkosborne September 04, 2013 11:40AM

Re: proxy buffering for media files?

Maxim Dounin September 04, 2013 12:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready