Hello,<div><br></div><div>I have now tried various code snippets found throughout the web (inc stackless etc) but cannot get ANY python script to accept more than 1000(ish) concurrent connections (Windows).</div><div><br></div>
<div>I have seen details of "tasklets", "greenlets", but no code samples and/or anything that seems to work.</div><div><br></div><div>Does anyone know of something that WILL work, even a simple TCP server will do to test with. Links to working code samples would be greatly appreciated.</div>
<div><br></div><div>I'd like to get a minimum of 3000 concurrent users ideally, and have the best possible solution for an IRC server using Python.</div><div><br></div><div>Thanks for any help with this, I look forward to hearing from you!</div>
<div><br></div><div><br></div><div>Rach<br><br><div class="gmail_quote">2009/7/8 Rach <span dir="ltr"><<a href="mailto:rachie@oasiz.net">rachie@oasiz.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hello,</div><div><br></div><div>I am new to Python, but playing with an irc server (made with python of course) and am finding a problem with accepting more than 1000 users/connections.</div><div><br></div><div>I've googled for a while and ended up here as it appears to be something to do with the "thread stack limit". Does anyone know if that is correct and if stackless python will help?</div>
<div><br></div><div>If so, do you think the edits will be huge?</div><div><br></div><div>The only real threading bit is this: threading.Thread.__init__(self)</div><div><br></div><div>Thanks so much for any help you can give me.</div>
<div><br></div><div><br></div>
</blockquote></div><br></div>