[IPython-dev] question about decision to use twisted

Barry Wark barrywark@gmail....
Tue Jul 8 15:23:33 CDT 2008


On Tue, Jul 8, 2008 at 12:57 PM, Brian Granger <ellisonbg.net@gmail.com> wrote:
>> I have a data acquisition and analysis project that currently uses Parallel
>> Python for distributed processing and PyQt4's for some threading and event
>> handling. I am concidering the processing module scheduled for inclusion in
>> the python standard library starting with version 2.6, and also I am trying
>> to get my head around twisted.
>
> Twisted is a much lower level solution than parallel python or
> processing.  Are you thinking about using Twisted directly or just
> using it through IPython (ipython1 is not in trunk IPython).  Unless
> you really want the treading API that processing provides, I think
> IPython is by far the best solution [I fully acknowledge my bias here]
> for high-level parallelism.

Just wanted to clarify Brian's comment... ipython1 is _now_ in trunk
IPython. Brian's done a ton of work to make this happen and I just
didn't want a typo to get in they way ;)

>
>> I would like to know what the ipython developers concerns were at the time the
>> decision was made to use twisted in ipython1, was there some discussion on
>> the ipython mailing lists? Any advice or comments would be greatly
>> appreciated.
>
> I don't think we really discussed this on the mailing list, it was
> probably private discussion between Fernando and myself.  We went with
> Twisted as:
>
> 1) we didn't want to reinvent Twisted
>
> 2) we really need what Twisted provides, so the temptation to reinvent
> it was great.
>
> 3) Twisted has the right abstractions that force you to write correct
> an robust networking code.  Of course you can do this without Twisted,
> but you are going to work much harder and probably get it wrong in
> subtle ways that are hard to figure out.
>
> We have been extremely happy about going with Twisted - it is our secret sauce.
>
> Are there any specific questions you have about Twisted?
>
> Cheers,
>
> Brian
>
>> Darren
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev@scipy.org
>> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>


More information about the IPython-dev mailing list