Re: Nginx performance data

2022-01-07 Thread Maxim Dounin
Hello! On Fri, Jan 07, 2022 at 01:36:04PM +, James Read wrote: > Nice article. So the short answer is that Nginx does in fact use multiple > processes. Does anybody know what timeout is used in Nginx call to > epoll_wait()? Is there some heuristic for calculating the optimal timeout > on each

Re: ipV6 failing first time, working everytime subsequently

2022-01-07 Thread Francis Daly
On Fri, Jan 07, 2022 at 12:02:03PM -0500, chakras wrote: Hi there, > To answer your question partially, username/ password validation happens on > GCP server. We do a POST request and send a JSON object with those values > filled in. If the login succeeds, we send back a token. Nginx is really >

Re: curious .conf problem

2022-01-07 Thread Francis Daly
On Fri, Jan 07, 2022 at 01:46:06PM -0500, David27 wrote: Hi there, > > If you have no "server_name www.thomas-walker-lynch.com;" ( > > There is indeed a server block already defined with a server name > www.thomas-walker-lynch.com. "in a suitable server{}". For a connection to port 80, there

Re: curious .conf problem

2022-01-07 Thread David27
Hello Francis, > If you have no "server_name www.thomas-walker-lynch.com;" ( There is indeed a server block already defined with a server name www.thomas-walker-lynch.com. Nginx just chooses to use a different block that has a different server name. (Or perhaps I messed up the syntax for it l

Re: ipV6 failing first time, working everytime subsequently

2022-01-07 Thread chakras
Hello Francis, To answer your question partially, username/ password validation happens on GCP server. We do a POST request and send a JSON object with those values filled in. If the login succeeds, we send back a token. Nginx is really working just as a proxy here. Something like this on browser

Re: Nginx performance data

2022-01-07 Thread James Read
On Fri, Jan 7, 2022 at 1:13 PM Anoop Alias wrote: > > https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/ > Nice article. So the short answer is that Nginx does in fact use multiple processes. Does anybody know what timeout is used in Nginx call to epoll_wait()? Is the

Re: Nginx performance data

2022-01-07 Thread Anoop Alias
https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/ On Fri, Jan 7, 2022 at 6:33 PM James Read wrote: > > > On Fri, Jan 7, 2022 at 11:56 AM Anoop Alias > wrote: > >> This basically depends on your hardware and network speed etc >> >> Nginx is event-driven and does not

Re: Nginx performance data

2022-01-07 Thread James Read
On Fri, Jan 7, 2022 at 11:56 AM Anoop Alias wrote: > This basically depends on your hardware and network speed etc > > Nginx is event-driven and does not fork a separate process for handling > new connections which basically makes it different from Apache httpd > Just to be clear Nginx is entire

Re: Nginx performance data

2022-01-07 Thread James Read
On Fri, Jan 7, 2022 at 12:18 PM Reinis Rozitis wrote: > > Anyone? > > Since the questions are quite general (like the upper limits are usually > hardware bound so the performance numbers vary based on that) maybe reading > these blog posts can give some insight: > > > https://www.nginx.com/blog/t

RE: Nginx performance data

2022-01-07 Thread Reinis Rozitis
> Anyone? Since the questions are quite general (like the upper limits are usually hardware bound so the performance numbers vary based on that) maybe reading these blog posts can give some insight: https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/ and othe

Re: Nginx performance data

2022-01-07 Thread Anoop Alias
This basically depends on your hardware and network speed etc Nginx is event-driven and does not fork a separate process for handling new connections which basically makes it different from Apache httpd On Wed, Jan 5, 2022 at 5:48 AM James Read wrote: > Hi, > > I have some questions about Nginx

Re: Nginx performance data

2022-01-07 Thread James Read
On Wed, Jan 5, 2022 at 12:18 AM James Read wrote: > Hi, > > I have some questions about Nginx performance. How many concurrent > connections can Nginx handle? What throughput can Nginx achieve when > serving a large number of small pages to a large number of clients (the > maximum number supporte

Re: ipV6 failing first time, working everytime subsequently

2022-01-07 Thread Francis Daly
On Thu, Jan 06, 2022 at 09:19:44PM -0500, chakras wrote: Hi there, > Thanks for your response. I have verified from Network logs on the browser > that POST request is sending the username and password in both cases. Where in the data flow is the username/password validated, that might generate t