<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>How much work for Windows Multiple Process support?</title>
        <description> How much work do you think it will take to get the Windows build to
support having multiple worker processes?  Is anyone already working on
this?  I volunteer to help later this month if I get a little guidance
on what is required.

Thanks,

Ben

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226147,226147#msg-226147

_______________________________________________
nginx mailing list
&amp;#110;&amp;#103;&amp;#105;&amp;#110;&amp;#120;&amp;#64;&amp;#110;&amp;#103;&amp;#105;&amp;#110;&amp;#120;&amp;#46;&amp;#111;&amp;#114;&amp;#103;
http://mailman.nginx.org/mailman/listinfo/nginx</description>
        <link>http://www.serverphorums.com/read.php?5,491474,491474#msg-491474</link>
        <lastBuildDate>Wed, 19 Jun 2013 22:56:15 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,503816#msg-503816</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,503816#msg-503816</link>
            <description><![CDATA[ Here is my SS:  259 71 2451<br />
<br />
<br />
<br />
On May 21, 2012, at 4:49 PM, &quot;chicagoben&quot; &lt;nginx-forum@nginx.us&gt; wrote:<br />
<br />
&gt; itpp2012 Wrote:<br />
&gt; -------------------------------------------------------<br />
&gt;&gt; I think we might benefit more from solving the<br />
&gt;&gt; select problem, with 8 separate workers as<br />
&gt;&gt; mentioned before you're still stuck to 1024*8<br />
&gt;&gt; which isn't that much more, found an interesting<br />
&gt;&gt; discussion about select, why it's used and why it<br />
&gt;&gt; should not be used on windows systems:<br />
&gt;&gt; <a href="http://groups.google.com/group/alt.winsock.program" target="_blank"  rel="nofollow">http://groups.google.com/group/alt.winsock.program</a><br />
&gt;&gt; ming/browse_thread/thread/a041475f7312f9c5<br />
&gt;&gt; <br />
&gt;&gt; If select was rewritten you could run 4<br />
&gt;&gt; worker_processes with 10.000 worker_connections<br />
&gt;&gt; each on their own cpu. Windows can handle this<br />
&gt;&gt; just as easy as Linux folks.<br />
&gt; <br />
&gt; <br />
&gt; Do you know how hard it would be to do that with nginx?  I'm a C/C++<br />
&gt; programmer, I just don't want to dive into this project if there are<br />
&gt; going to be lots of other situations that aren't thread-safe.<br />
&gt; <br />
&gt; Thanks,<br />
&gt; <br />
&gt; Ben<br />
&gt; <br />
&gt; Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226698#msg-226698" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226698#msg-226698</a><br />
&gt; <br />
&gt; _______________________________________________<br />
&gt; nginx mailing list<br />
&gt; <a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
&gt; <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>highpointe</dc:creator>
            <category>Nginx</category>
            <pubDate>Sun, 27 May 2012 07:00:03 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,502380#msg-502380</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,502380#msg-502380</link>
            <description><![CDATA[ itpp2012, I'll take a look at having a load balancing nginx pass to<br />
other nginx instances.  I would still prefer to add some completion<br />
ports or something similar to nginx, but that will obviously take a lot<br />
longer than just running the chained-nginx scenario.  Thanks.<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226802#msg-226802" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226802#msg-226802</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>chicagoben</dc:creator>
            <category>Nginx</category>
            <pubDate>Thu, 24 May 2012 15:10:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,501151#msg-501151</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,501151#msg-501151</link>
            <description><![CDATA[ I never said it was going to be easy, just that porting for win32<br />
requires some win32 work as there are substantial differences between<br />
linux and win32 (duh). They managed to get php win32 thread-safe after<br />
all.<br />
<br />
Setup nginx as a front-end, make a pool with nginx back-ends (just like<br />
you would do for fpm with sockets or tcp) and from there on the back-end<br />
nginx servers are load-balanced from the pool front-end just like fpm<br />
would work, nothing magic about it.<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226739#msg-226739" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226739#msg-226739</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>itpp2012</dc:creator>
            <category>Nginx</category>
            <pubDate>Tue, 22 May 2012 23:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,500433#msg-500433</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,500433#msg-500433</link>
            <description><![CDATA[ itpp2012 Wrote:<br />
-------------------------------------------------------<br />
&gt; I think we might benefit more from solving the<br />
&gt; select problem, with 8 separate workers as<br />
&gt; mentioned before you're still stuck to 1024*8<br />
&gt; which isn't that much more, found an interesting<br />
&gt; discussion about select, why it's used and why it<br />
&gt; should not be used on windows systems:<br />
&gt; <a href="http://groups.google.com/group/alt.winsock.program" target="_blank"  rel="nofollow">http://groups.google.com/group/alt.winsock.program</a><br />
&gt; ming/browse_thread/thread/a041475f7312f9c5<br />
&gt; <br />
&gt; If select was rewritten you could run 4<br />
&gt; worker_processes with 10.000 worker_connections<br />
&gt; each on their own cpu. Windows can handle this<br />
&gt; just as easy as Linux folks.<br />
<br />
<br />
Do you know how hard it would be to do that with nginx?  I'm a C/C++<br />
programmer, I just don't want to dive into this project if there are<br />
going to be lots of other situations that aren't thread-safe.<br />
<br />
Thanks,<br />
<br />
Ben<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226698#msg-226698" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226698#msg-226698</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>chicagoben</dc:creator>
            <category>Nginx</category>
            <pubDate>Tue, 22 May 2012 01:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,500432#msg-500432</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,500432#msg-500432</link>
            <description><![CDATA[ Well this is all for one site where I want multiple workers to speed up<br />
response time if any particular request is slow.  Can you explain how I<br />
could forward from one nginx to say 4 other ones, and then those could<br />
talk to my WSGI application?  Thanks.<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226697#msg-226697" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226697#msg-226697</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>chicagoben</dc:creator>
            <category>Nginx</category>
            <pubDate>Tue, 22 May 2012 01:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,500083#msg-500083</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,500083#msg-500083</link>
            <description><![CDATA[ I think we might benefit more from solving the select problem, with 8<br />
separate workers as mentioned before you're still stuck to 1024*8 which<br />
isn't that much more, found an interesting discussion about select, why<br />
it's used and why it should not be used on windows systems:<br />
<a href="http://groups.google.com/group/alt.winsock.programming/browse_thread/thread/a041475f7312f9c5" target="_blank"  rel="nofollow">http://groups.google.com/group/alt.winsock.programming/browse_thread/thread/a041475f7312f9c5</a><br />
<br />
If select was rewritten you could run 4 worker_processes with 10.000<br />
worker_connections each on their own cpu. Windows can handle this just<br />
as easy as Linux folks.<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226690#msg-226690" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226690#msg-226690</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>itpp2012</dc:creator>
            <category>Nginx</category>
            <pubDate>Mon, 21 May 2012 17:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,494755#msg-494755</guid>
            <title>Re: How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,494755#msg-494755</link>
            <description><![CDATA[ You can run multiple nginx sessions by seperating the config between<br />
them, the main http section will have to use a 'uniqe' port for each<br />
session, from there on you can seperate out the hosted websites and also<br />
assign each session its own cpu. You are however limited to a 65.000<br />
connection max for all sessions.<br />
<br />
Another, easier, way for multiple sessions is to use 1 session as proxy<br />
to many secondairy sessions which will make routing the http port<br />
easier, this way also scales better.<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226318#msg-226318" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226318#msg-226318</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>itpp2012</dc:creator>
            <category>Nginx</category>
            <pubDate>Fri, 11 May 2012 20:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,491474,491474#msg-491474</guid>
            <title>How much work for Windows Multiple Process support?</title>
            <link>http://www.serverphorums.com/read.php?5,491474,491474#msg-491474</link>
            <description><![CDATA[ How much work do you think it will take to get the Windows build to<br />
support having multiple worker processes?  Is anyone already working on<br />
this?  I volunteer to help later this month if I get a little guidance<br />
on what is required.<br />
<br />
Thanks,<br />
<br />
Ben<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226147,226147#msg-226147" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226147,226147#msg-226147</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>chicagoben</dc:creator>
            <category>Nginx</category>
            <pubDate>Mon, 07 May 2012 16:30:53 +0200</pubDate>
        </item>
    </channel>
</rss>
