Hi Romanoff <div><br></div><div>    Have you suffered from transfer large size of data to child process? I encountered a problem: it seems i am unable to send any chunks of data larger than 4000 bytes. I guess there is a limit.</div>
<div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Sat, Nov 19, 2011 at 3:58 AM, Romanoff Alexei <span dir="ltr">&lt;<a href="mailto:drednout.by@gmail.com">drednout.by@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/11/18 gelin yan &lt;<a href="mailto:dynamicgl@gmail.com">dynamicgl@gmail.com</a>&gt;:<br>
<div><div class="h5">&gt; Hi all.<br>
&gt;    just a few hours ago, I discovered ampoule is probably a right choice to<br>
&gt; run my analyze codes. I want to know whether your guys have used it for<br>
&gt; production purposes or not It seems the development has been frozen for a<br>
&gt; while and I noticed many bugs reported on the board. Some bugs looks like<br>
&gt; quite serious for example: a bug mentioned occasionally, startWorker may<br>
&gt; generate double process until the system hanging.<br>
&gt;     If those bugs still exist, i am gonna try to fix some of them if it is<br>
&gt; impossible.<br>
&gt; Regards<br>
&gt; GELIN YAN<br>
</div></div>&gt; _______________________________________________<br>
&gt; Twisted-Python mailing list<br>
&gt; <a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
&gt; <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
&gt;<br>
&gt;<br>
<br>
Good question!<br>
I&#39;ve recently adopted our game server for processing client requests<br>
in several processes using ampoule as tool for managing process pool.<br>
New approach has significantly more performance(5-100% more queries<br>
per second in depends on type of query and the number of concurrent<br>
clients) and high scalability. Modern servers have a lot of processor<br>
cores, but GIL  in python kills all opportunities to use<br>
multi-threading for heavy computation.<br>
But my solution is still not in production. I wanted to ask the same<br>
question, but other tasks distracted me from ampoule and<br>
multi-processing.<br>
I should also mention that my tests were rather artificial,  I don&#39;t<br>
know how  ampoule would work when many real players came to our server<br>
and started playing.<br>
<br>
I have also several patches for ampoule, which allows me send<br>
many-many client&#39;s requests to several processes in pool(from the box<br>
ampoule allows to process one query per process).<br>
<br>
I&#39;m really keen on this question, thank you, GELIN YAN.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Best regards,<br>
Alexei Romanoff<br>
software developer, Melesta<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</font></span></blockquote></div><br></div>