Welcome! Log In Create A New Profile

Advanced

[PATCH 0 of 9] Upstream: re-resolvable servers.

Aleksei Bavshin
June 13, 2024 06:30PM
The series is a compilation of patches with the upstream re-resolve
feature from the Nginx Plus. The original commits were rebased on top
of the current OSS code, grouped by features introduced and squashed.
Some formatting quirks and other minor oddities could be attributed to a
conscious effort to reduce divergence with the source branch.


This is a resubmission of the series from Feb 2023[1]. Main differences:

- The code is now identical to the NGINX Plus (sans features we're not
cleared to publish at the moment and minor cosmetic differences).

The implementation might be not perfect architecturally, but it's
been heavily tested and has been running in many production
environments for many years. It's also already familiar to the team,
simplifying the review, and serves as a good starting point for
further improvements.

- The configuration directives are now explicitly disabled on Windows
platform. See the corresponding commit for the rationale.

- Tests are now ported to use the features available in the NGINX OSS
and added to the series.


Known limitations:

- All the periodic resolve tasks are handled in the first worker
process.

- The functionality requires a shared zone of a sufficient size to be
configured in the upstream block. A rough estimation is 2k for a
configured server entry + 2k for each resolved address.
The zone requirement could be lifted with local allocation of the
resolved peer data, but implementing that was out of scope.

[1]: https://mailman.nginx.org/pipermail/nginx-devel/2023-February/4MCLSVRK7EX6DNKHFZN6CA4SKZUSA3GA.html
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 9] Upstream: re-resolvable servers.

Aleksei Bavshin 176 June 13, 2024 06:30PM

[PATCH 1 of 9] Upstream: re-resolvable servers

Aleksei Bavshin 39 June 13, 2024 06:30PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Roman Arutyunyan 15 July 08, 2024 10:22AM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Roman Arutyunyan 16 July 09, 2024 12:24PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Aleksei Bavshin 21 July 11, 2024 12:42PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

splitice 17 July 11, 2024 03:18PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Aleksei Bavshin 21 July 11, 2024 03:44PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

splitice 21 July 11, 2024 04:00PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Aleksei Bavshin 21 July 11, 2024 04:34PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

splitice 22 July 11, 2024 05:06PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Aleksei Bavshin 20 July 09, 2024 04:22PM

Re: [PATCH 1 of 9] Upstream: re-resolvable servers

Roman Arutyunyan 19 July 10, 2024 11:44AM

[PATCH 2 of 9] Stream: re-resolvable servers

Aleksei Bavshin 42 June 13, 2024 06:30PM

[PATCH 3 of 9] Upstream: construct upstream peers from DNS SRV records

Aleksei Bavshin 37 June 13, 2024 06:30PM

[PATCH 4 of 9] Core: inheritance of non-reusable shared memory zones

Aleksei Bavshin 24 June 13, 2024 06:32PM

Re: [PATCH 4 of 9] Core: inheritance of non-reusable shared memory zones

Roman Arutyunyan 12 July 08, 2024 10:24AM

[PATCH 5 of 9] Upstream: pre-resolve servers on reload

Aleksei Bavshin 29 June 13, 2024 06:32PM

[PATCH 6 of 9] Upstream: per-upstream resolver

Aleksei Bavshin 27 June 13, 2024 06:32PM

Re: [PATCH 6 of 9] Upstream: per-upstream resolver

Roman Arutyunyan 24 July 08, 2024 11:18AM

[PATCH 7 of 9] Upstream: copy upstream zone DNS valid time during config reload

Aleksei Bavshin 31 June 13, 2024 06:32PM

Re: [PATCH 7 of 9] Upstream: copy upstream zone DNS valid time during config reload

Roman Arutyunyan 15 July 08, 2024 11:08AM

[PATCH 8 of 9] Upstream: disable re-resolve functionality on Windows

Aleksei Bavshin 36 June 13, 2024 06:34PM

Re: [PATCH 8 of 9] Upstream: disable re-resolve functionality on Windows

Roman Arutyunyan 18 July 10, 2024 09:18AM

Re: [PATCH 8 of 9] Upstream: disable re-resolve functionality on Windows

Roman Arutyunyan 19 July 11, 2024 02:52AM

Re: [PATCH 8 of 9] Upstream: disable re-resolve functionality on Windows

Aleksei Bavshin 16 July 11, 2024 12:26PM

[PATCH 9 of 9] Tests: upstream configuration tests with re-resolvable servers

Aleksei Bavshin 44 June 13, 2024 06:34PM



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

Online Users

Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready