# Nginx and multi-threading support

**URL:** <https://www.ruby-forum.com/t/nginx-and-multi-threading-support/221959>\
**Category:** NGINX\
**Created:** [August 7, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/nginx-and-multi-threading-support/221959 "2012-08-07T14:05:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 7, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/nginx-and-multi-threading-support/221959/1 "2012-08-07T14:05:18Z")

</div>

I am looking at using nginx for an embedded environment. I understand  
that  
nginx uses non-blocking event-driven IO and has multiple worker  
processes  
to scale to multiple cores. Looking at the code, I see there is an  
option  
to use multiple threads as well. One of the model I am looking at is to  
have a single process but multiple worker threads. Is this functionality  
mature/complete ?

I see a similar question asked about 9 months back on this forum, but am  
wondering if something is changed since then ?

> **[Re: nginx support multithread](https://forum.nginx.org/read.php?2,217370,217455#msg-217455)**
>
> I saw multithread support in the source code, but why multithread is not supported in current version? And is any one know whether and when multithread will be supported?

thanks  
Ramesh

---

<div class="post-metadata">

**Author:** ![Ramesh\_Nethi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/5daacb/32.png) [@Ramesh\_Nethi](https://www.ruby-forum.com/u/Ramesh_Nethi)\
**Post date:** [August 7, 2012, 5:47pm UTC](https://www.ruby-forum.com/t/nginx-and-multi-threading-support/221959/2 "2012-08-07T17:47:30Z")

</div>

Multi threading support was removed from nginx a long time ago, there  
might be a few traces left in the source code but it’s not functional.

Posted at Nginx Forum:

> **[Re: nginx and multi-threading support](https://forum.nginx.org/read.php?2,229381,229396#msg-229396)**
>
> I am looking at using nginx for an embedded environment. I understand that nginx uses non-blocking event-driven IO and has multiple worker processes to scale to multiple cores. Looking at the code, I see there is an option to use multiple threads as...
