Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-17 Thread Maxim Dounin
Hello! On Tue, Oct 17, 2023 at 03:25:41PM +0400, Sergey Kandaurov wrote: > > On 11 Oct 2023, at 02:56, Maxim Dounin wrote: > > > > Hello! > > > > On Thu, Oct 05, 2023 at 10:51:26AM +0900, Yusuke Nojima wrote: > > > >> Thank you for your comment! > >> > >>> Could you please provide some more

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-17 Thread Sergey Kandaurov
> On 11 Oct 2023, at 02:56, Maxim Dounin wrote: > > Hello! > > On Thu, Oct 05, 2023 at 10:51:26AM +0900, Yusuke Nojima wrote: > >> Thank you for your comment! >> >>> Could you please provide some more details about the use case, >>> such as how locations are used, and what is the approximate

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-11 Thread Yusuke Nojima
Thank you for your comments and implementation! I am looking forward to the acceleration of nginx startup with this patch. 2023年10月11日(水) 7:56 Maxim Dounin : > > Hello! > > On Thu, Oct 05, 2023 at 10:51:26AM +0900, Yusuke Nojima wrote: > > > Thank you for your comment! > > > > > Could you please

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-10 Thread Maxim Dounin
Hello! On Thu, Oct 05, 2023 at 10:51:26AM +0900, Yusuke Nojima wrote: > Thank you for your comment! > > > Could you please provide some more details about the use case, > > such as how locations are used, and what is the approximate number > > of locations being used? > > Our team provides

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-05 Thread Yusuke Nojima
> BASIC auth is known to be CPU consuming as well, hash is calculated on every > http request. > what is a ratio of authenticated requests ? do you see high CPU consumption ? First of all, this patch is related to the startup time of nginx and not to the processing time per request. The

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-05 Thread Илья Шипицин
чт, 5 окт. 2023 г. в 03:51, Yusuke Nojima : > Thank you for your comment! > > > Could you please provide some more details about the use case, > > such as how locations are used, and what is the approximate number > > of locations being used? > > Our team provides development environments to our

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-10-04 Thread Yusuke Nojima
Thank you for your comment! > Could you please provide some more details about the use case, > such as how locations are used, and what is the approximate number > of locations being used? Our team provides development environments to our company's engineers and QA. In this environment,

Re: [PATCH] Improve performance when starting nginx with a lot of locations

2023-09-29 Thread Maxim Dounin
Hello! On Fri, Sep 22, 2023 at 03:58:41PM +0900, Yusuke Nojima wrote: > # HG changeset patch > # User Yusuke Nojima > # Date 1679555707 -32400 > # Thu Mar 23 16:15:07 2023 +0900 > # Node ID 6aac98fb135e47ca9cf7ad7d780cf4a10e9aa55c > # Parent 8771d35d55d0a2b1cefaab04401d6f837f5a05a2 >

[PATCH] Improve performance when starting nginx with a lot of locations

2023-09-22 Thread Yusuke Nojima
# HG changeset patch # User Yusuke Nojima # Date 1679555707 -32400 # Thu Mar 23 16:15:07 2023 +0900 # Node ID 6aac98fb135e47ca9cf7ad7d780cf4a10e9aa55c # Parent 8771d35d55d0a2b1cefaab04401d6f837f5a05a2 Improve performance when starting nginx with a lot of locations Our team has a