[Twisted-Python] Does anyone use ampoule in production?

gelin yan dynamicgl at gmail.com
Mon Nov 21 01:25:54 EST 2011

Hi Romanoff

    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.

On Sat, Nov 19, 2011 at 3:58 AM, Romanoff Alexei <drednout.by at gmail.com>wrote:

> 2011/11/18 gelin yan <dynamicgl at gmail.com>:
> > Hi all.
> >    just a few hours ago, I discovered ampoule is probably a right choice
> to
> > run my analyze codes. I want to know whether your guys have used it for
> > production purposes or not It seems the development has been frozen for a
> > while and I noticed many bugs reported on the board. Some bugs looks like
> > quite serious for example: a bug mentioned occasionally, startWorker may
> > generate double process until the system hanging.
> >     If those bugs still exist, i am gonna try to fix some of them if it
> is
> > impossible.
> > Regards
> > _______________________________________________
> > Twisted-Python mailing list
> > Twisted-Python at twistedmatrix.com
> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> >
> >
> Good question!
> I've recently adopted our game server for processing client requests
> in several processes using ampoule as tool for managing process pool.
> New approach has significantly more performance(5-100% more queries
> per second in depends on type of query and the number of concurrent
> clients) and high scalability. Modern servers have a lot of processor
> cores, but GIL  in python kills all opportunities to use
> multi-threading for heavy computation.
> But my solution is still not in production. I wanted to ask the same
> question, but other tasks distracted me from ampoule and
> multi-processing.
> I should also mention that my tests were rather artificial,  I don't
> know how  ampoule would work when many real players came to our server
> and started playing.
> I have also several patches for ampoule, which allows me send
> many-many client's requests to several processes in pool(from the box
> ampoule allows to process one query per process).
> I'm really keen on this question, thank you, GELIN YAN.
> --
> Best regards,
> Alexei Romanoff
> software developer, Melesta
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20111121/02fc6a7a/attachment.htm 

More information about the Twisted-Python mailing list