Welcome! Log In Create A New Profile

Advanced

Re: Nginx upstream zone

Vishwas Bm
August 09, 2022 06:24AM
Thanks for answering the query.


On Mon, 8 Aug, 2022, 17:04 Sergey Kandaurov, <pluknet@nginx.com> wrote:

>
> > On 8 Aug 2022, at 06:49, Sergey A. Osokin <osa@freebsd.org.ru> wrote:
> >
> > Hi,
> >
> > On Fri, Aug 05, 2022 at 07:40:35PM +0530, Vishwas Bm wrote:
> >>
> >> What is the use of zone in stream upstream
> >> http://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#zone
> >
> > Since this is the part of the commercial subscription, I'd recommend
> > to contact NGINX Plus premium support team, please visit the following
> > page to get details, https://www.nginx.com/support/
>
> And also included in opensource nginx.
>
> >
> >> Does it have any impact on how loadbalancing happens when there are
> >> multiple worker process?
> >
> > No impact.
>
> Actually, enabling upstream zone moves internal peer state storage
> to shared memory, such that loadbalancing becomes consistent among
> worker processes. This includes reusing SSL sessions to backends.
>
> >
> >> Also how is the size needs to be calculated ?
> >> Is 5m size sufficient for 10 worker process?
> >
> > That depends on the actual NGINX Plus configuration and other factors,
> > usually 64k is enough, but that number can be revisited with an extensive
> > testing in a lower environments.
> >
> > Thank you.
> >
>
> It's roughly 500 bytes per upstream server in a simple case.
> The exact numbers depend on nginx version and configuration.
> Also, currently upstream zone cannot be configured to be less
> than 8 page sizes.
>
> --
> Sergey Kandaurov
>
> _______________________________________________
> nginx mailing list -- nginx@nginx.org
> To unsubscribe send an email to nginx-leave@nginx.org
>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Nginx upstream zone

Vishwas Bm August 05, 2022 10:12AM

Re: Nginx upstream zone

Vishwas Bm August 07, 2022 10:32PM

Re: Nginx upstream zone

Sergey A. Osokin August 07, 2022 10:50PM

Re: Nginx upstream zone

Vishwas Bm August 08, 2022 03:22AM

Re: Nginx upstream zone

Sergey Kandaurov August 08, 2022 07:36AM

Re: Nginx upstream zone

Vishwas Bm August 09, 2022 06:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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