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

2011-11-21 Thread Corbin Simpson
On Sun, Nov 20, 2011 at 11:40 PM, gelin yan dynami...@gmail.com wrote: Hi glyph      I attached a file for this purpose. there is a number 4073 inside the code. when i use any smaller value, the function return a correct result. I use win 7 twisted 11.1 at the moment. I am not sure whether

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

2011-11-21 Thread Flavio Grossi
gelin yan dynamicgl at gmail.com writes: Hi glyph      I attached a file for this purpose. there is a number 4073 inside the code. when i use any smaller value, the function return a correct result. I use win 7 twisted 11.1 at the moment. I am not sure whether this limit comes from os

[Twisted-Python] Twisted on PyPy

2011-11-21 Thread Reza Lotun
Hi All, I was just wondering if anyone is running (or has tested) their production stack of Twisted on PyPy. Since 1.7 has just been released, I'd like to play around with running our unit tests and running a production test at some point. One concern I have is support for pyOpenSSL on PyPy.

Re: [Twisted-Python] Twisted on PyPy

2011-11-21 Thread Laurens Van Houtven
I tried once, and then I submitted a ticket, because a Cython extension was preventing a complete install. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2011-11-21 Thread Žiga Seilnacht
On 21.11.2011 8:40, gelin yan wrote: Hi glyph I attached a file for this purpose. there is a number 4073 inside the code. when i use any smaller value, the function return a correct result. I use win 7 twisted 11.1 at the moment. I am not sure whether this limit comes from os or not.

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

2011-11-21 Thread gelin yan
Thanks for that... the patch you mentioned definitely solve this problem...it looks like the default buffer size is 4096 bytes on windows. minor change of the patch for twisted 11.1 _pollingfile._PIPE_BUFFER_SIZE has been changed to _pollingfile.FULL_BUFFER_SIZE * * thanks again for your guys

Re: [Twisted-Python] Twisted on PyPy

2011-11-21 Thread gelin yan
If pypy doesn't work well with cython, it implies we can't use iocp for that. On Mon, Nov 21, 2011 at 6:57 PM, Laurens Van Houtven _...@lvh.cc wrote: I tried once, and then I submitted a ticket, because a Cython extension was preventing a complete install.

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

2011-11-21 Thread gelin yan
Hi I am happy to see some other teams have used it in a production environment. If there are no serious bugs, I am gonna use it to implement my analyzer which need to take benefit from multiple cores. At the moment, ampoule seems is the most intuitive way to reap the power of multiple cores.