<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 10, 2022 at 11:42 AM Aleksandar Lazic <<a href="mailto:al-nginx@none.at">al-nginx@none.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 07.01.22 14:13, Anoop Alias wrote:<br>
> <a href="https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/" rel="noreferrer" target="_blank">https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/</a> <br>
<br>
In addition please also take a look into this post.<br>
<a href="https://www.nginx.com/blog/thread-pools-boost-performance-9x/" rel="noreferrer" target="_blank">https://www.nginx.com/blog/thread-pools-boost-performance-9x/</a></blockquote><div><br></div><div>Thanks.</div><div><br></div><div>I've been doing some preliminary experiments with <span style="background-color:rgb(227,230,232);color:rgb(35,38,41);font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono","Liberation Mono",Menlo,Monaco,Consolas,monospace;font-size:13px;white-space:pre-wrap">PACKET_MMAP</span> style communication. I'm able to max out the available bandwidth using this technique. Could Nginx be improved in a similar way?</div><div><br></div><div>James Read</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Regards<br>
Alex<br>
<br>
> On Fri, Jan 7, 2022 at 6:33 PM James Read <<a href="mailto:jamesread5737@gmail.com" target="_blank">jamesread5737@gmail.com</a>> wrote:<br>
> <br>
> <br>
> <br>
> On Fri, Jan 7, 2022 at 11:56 AM Anoop Alias <<a href="mailto:anoopalias01@gmail.com" target="_blank">anoopalias01@gmail.com</a>> wrote:<br>
> <br>
> This basically depends on your hardware and network speed etc<br>
> <br>
> Nginx is event-driven and does not fork a separate process for handling new connections which basically makes it different from Apache httpd<br>
> <br>
> <br>
> Just to be clear Nginx is entirely single threaded?<br>
> <br>
> James Read<br>
> <br>
> <br>
> On Wed, Jan 5, 2022 at 5:48 AM James Read <<a href="mailto:jamesread5737@gmail.com" target="_blank">jamesread5737@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> 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 loop all done in a single thread or are multiple threads used to split the work of serving so many different clients?<br>
> <br>
> thanks in advance<br>
> James Read<br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div></div>