Re: Nginx performance data

2022-01-23 Thread James Read
On Fri, Jan 14, 2022 at 12:47 AM James Read wrote: > > > On Sun, Jan 9, 2022 at 12:47 AM Reinis Rozitis wrote: > >> > Otherwise why is my application running into such performance limits as >> mentioned in this question on stackoverflow >>

Re: Nginx performance data

2022-01-13 Thread James Read
On Sun, Jan 9, 2022 at 12:47 AM Reinis Rozitis wrote: > > Otherwise why is my application running into such performance limits as > mentioned in this question on stackoverflow >

Re: Nginx performance data

2022-01-10 Thread Paul
On 2022-01-10 12:47 p.m., James Read wrote: I've been doing some preliminary experiments with PACKET_MMAP style communication. With apologies for "snipping", and disclaimer that I am not an nginx developer, only a long term user. So, MMAP has given you "preliminary" analysis of what your

Re: Nginx performance data

2022-01-10 Thread James Read
On Mon, Jan 10, 2022 at 11:42 AM Aleksandar Lazic wrote: > On 07.01.22 14:13, Anoop Alias wrote: > > > https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/ > > In addition please also take a look into this post. >

Re: Nginx performance data

2022-01-10 Thread Aleksandar Lazic
On 07.01.22 14:13, Anoop Alias wrote: https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/ In addition please also take a look into this post. https://www.nginx.com/blog/thread-pools-boost-performance-9x/ Regards Alex On Fri, Jan 7, 2022 at 6:33 PM James Read

Re: Nginx performance data

2022-01-08 Thread James Read
On Sun, Jan 9, 2022 at 12:47 AM Reinis Rozitis wrote: > > Otherwise why is my application running into such performance limits as > mentioned in this question on stackoverflow >

RE: Nginx performance data

2022-01-08 Thread Reinis Rozitis
> Otherwise why is my application running into such performance limits as > mentioned in this question on stackoverflow > https://stackoverflow.com/questions/70584121/why-doesnt-my-epoll-based-program-improve-performance-by-increasing-the-number > ? You are testing something (public third

Re: Nginx performance data

2022-01-08 Thread James Read
On Sat, Jan 8, 2022 at 9:21 PM Francis Daly wrote: > On Sat, Jan 08, 2022 at 08:53:44PM +, James Read wrote: > > > On Fri, Jan 07, 2022 at 01:36:04PM +, James Read wrote: > > Hi there, > > > > > Does anybody know what timeout is used in Nginx call to > > > > epoll_wait()? > > > which of

Re: Nginx performance data

2022-01-08 Thread Francis Daly
On Sat, Jan 08, 2022 at 08:53:44PM +, James Read wrote: > > On Fri, Jan 07, 2022 at 01:36:04PM +, James Read wrote: Hi there, > > > Does anybody know what timeout is used in Nginx call to > > > epoll_wait()? > which of the many source files should I look in to get the answer?

Re: Nginx performance data

2022-01-08 Thread James Read
On Fri, Jan 7, 2022 at 11:56 PM Maxim Dounin wrote: > 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

Re: Nginx performance data

2022-01-08 Thread James Read
On Sat, Jan 8, 2022 at 10:40 AM Reinis Rozitis wrote: > >> > https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/ > > > > I don't view the test described as valid because the test is between one > client and one server. I'm interested in testing with one

RE: Nginx performance data

2022-01-08 Thread Reinis Rozitis
>> https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/ > > I don't view the test described as valid because the test is between one > client and one server. I'm interested in testing with one server and many > clients. wrk (used in the tests) [1] is a

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

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

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

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

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

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

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

Nginx performance data

2022-01-04 Thread James Read
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 supported)? How does Nginx achieve its performance? Is the epoll event