Brian Akins
October 27, 2011 07:08AM
On Oct 27, 2011, at 3:41 AM, agentzh wrote:
>>
>> What would be the usage of multi-threads?
>>
>
> Mostly for (blocking) disk I/O and other syscalls that have to block
> the main thread of an nginx worker :)
>

True. I've seen some systems where the overhead of the thread/queue management was more than just letting the system call block the main thread. We generally run 2 nginx procs per CPU core.

I just worry about bloat. There is a reason nginx's market share is rising and Apache's is falling.

--Brian



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx support multithread

wdmchaft October 26, 2011 10:49AM

Re: nginx support multithread

Igor Sysoev October 26, 2011 10:58AM

Re: nginx support multithread

Brian Akins October 26, 2011 05:44PM

Re: nginx support multithread

Martin Loy October 26, 2011 07:10PM

Re: nginx support multithread

deltay October 26, 2011 09:44PM

Re: nginx support multithread

agentzh October 27, 2011 03:42AM

Re: nginx support multithread

Brian Akins October 27, 2011 07:08AM

Re: nginx support multithread

Igor Sysoev October 28, 2011 02:28AM

Re: nginx support multithread

Igor Sysoev October 27, 2011 09:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 118
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready