nginx support multithread
igor at sysoev.ru
Thu Oct 27 13:22:37 UTC 2011
On Thu, Oct 27, 2011 at 03:41:24PM +0800, agentzh wrote:
> On Thu, Oct 27, 2011 at 5:43 AM, Brian Akins <brian at akins.org> wrote:
> > On Wed, Oct 26, 2011 at 10:57 AM, Igor Sysoev <igor at sysoev.ru> wrote:
> >> > And is any one know whether and when
> >> > multithread will be supported?
> >> Probably, in 2.0.
> > 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 :)
Yes. Primarily auxiliary threads to offload openning of not recently
used files, disk i/o, etc. Second goal is to make nginx internals being
thread-safe to allow experiments with different processing models.
More information about the nginx