<html><body bgcolor="#FFFFFF"><div>Hey I believe twisted is developed in a way that it can only use one processor at a time. As process scheduling is part of operating system it can only schedule one twisted reactor based application on one processor. For taking advantage of multiple processor you can use fork, but then it is not twisted way of doing stuff,, i am a new bie in twisted world, so comments are appreciated. Moreover I think twisted is similar to C select for tcp server</div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div>Arun<br><br>Sent from my iPhone</div><div><br>On Jan 3, 2010, at 12:20 AM, Colin &lt;<a href="mailto:karnaugh@karnaugh.za.net">karnaugh@karnaugh.za.net</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><br><br><div class="gmail_quote">On Sun, Jan 3, 2010 at 5:26 AM, Leif K-Brooks <span dir="ltr">&lt;<a href="mailto:eurleif@gmail.com"><a href="mailto:eurleif@gmail.com">eurleif@gmail.com</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey,<br>
<br>
I operate Omegle (<a href="http://omegle.com/" target="_blank"><a href="http://omegle.com/">http://omegle.com/</a></a>), which is a COMET-driven<br>
Twisted.Web app. (It doesn't use Nevow or anything; just Twisted.Web.)<br>
It gets fairly heavy traffic; right now, it peaks daily at around 6500<br>
concurrent users. Technical details:<br></blockquote><div><br>You should write a success story! I've used Omegle when the boredom hits hard. <br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
- Hosted on a Linode 2880 virtual private server<br>
(<a href="https://www.linode.com/" target="_blank"><a href="https://www.linode.com/">https://www.linode.com/</a></a>); Ubuntu, 2880 MB of RAM, 4 cores available<br>
- EPollReactor<br>
<br>
Omegle currently runs at close to 100% CPU for most of the day, and<br>
I'm a bit concerned about that.<br><br></blockquote><div><br>Try use the standard reactor instead of epoll. I found a similar problem when I switched my product to the epoll reactor, the cpu usage problem went away when I reverted back to the normal reactor. <br>
</div></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Twisted-web mailing list</span><br><span><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a></span><br><span><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a></span><br></div></blockquote></body></html>