[Twisted-Python] Weekly Bug Summary

2012-02-11 Thread exarkun
Bug summary __ Summary for 2012-02-05 through 2012-02-12 Opened Closed Total Change Enhancements: 4 4798 +0 Defects: 2 2524 +0 Tasks: 1 4 6

[Twisted-Python] libusb-1 file descriptors

2012-02-11 Thread Donal McMullan
I'm trying to integrate Twisted with libusb-1 The libusb-1 Python wrapper offers a USBPoller class to "allow integration of USB event polling in a file-descriptor monitoring event loop." The class expects to receive a 'poller' object, again quoting from the documentation: poller is a polling

Re: [Twisted-Python] how to ensure writes to stdout via stdio.StandardIO are completed before we shutdown the reactor?

2012-02-11 Thread Benjamin Rutt
That worked so well, that I was speechless for awhile. Thanks! On Wed, Feb 1, 2012 at 1:01 AM, wrote: > On 03:59 am, rut...@osu.edu wrote: >>Hi twisted community, >> >>What’s the best way to ensure writes to stdout via stdio.StandardIO >>are completed before we shutdown the reactor?   The use c

Re: [Twisted-Python] Twisted 12.0.0 released

2012-02-11 Thread Leo
On 2012-02-11 21:35 +0800, Thomas Hervé wrote: > On behalf of Twisted Matrix Laboratories, I am honored to announce the > release of Twisted 12.0. Many thanks for the hard work. I haven't started learning and using twisted but I plan to. Leo ___ Twist

Re: [Twisted-Python] Twisted 12.0.0 released

2012-02-11 Thread David Ripton
On 02/11/12 08:35, Thomas Hervé wrote: > On behalf of Twisted Matrix Laboratories, I am honored to announce the > release of Twisted 12.0. Woot! Thanks everyone. > Twisted no longer supports Python 2.4, the latest supported version is 2.5. s/latest/earliest/ 12.0.0.pre1 has been rock solid for

[Twisted-Python] Twisted 12.0.0 released

2012-02-11 Thread Thomas Hervé
On behalf of Twisted Matrix Laboratories, I am honored to announce the release of Twisted 12.0. 47 tickets are closed by this release, among them: * A fix to the GTK2 reactor preventing unnecessary wake-ups * Preliminary support of IPV6 on the server side * Several fixes to the new protoc

Re: [Twisted-Python] pushing out same message on 100k TCPs

2012-02-11 Thread Tobias Oberstein
> Now, as I understand it, sendfile() will perform zero-copy IO; since the > contents > of the file will undoubtedly be in the page cache, it should in theory DMA the > data straight from the (single copy of the) data in RAM to the NIC buffers. > > It should also handle refcounting for you - you

Re: [Twisted-Python] pushing out same message on 100k TCPs

2012-02-11 Thread Tobias Oberstein
> For what it's worth, real IP multicast is quite commonly used for distributing > short messages to many clients in realtime in some closed networks, such as > financial trading systems. With good network equipment that can handle low- > or zero-loss timely delivery, it does work very well. Empha

Re: [Twisted-Python] pushing out same message on 100k TCPs

2012-02-11 Thread Tobias Oberstein
> Not to mention the fact that inevitably, you probably are going to want some > security on those connections, which means TLS, which means individual crypto > connections. If there is a need for encryption, then yes, .. but it's not always needed > > I believe the best model for this kind of h

Re: [Twisted-Python] I'm working on a SPDY implementation

2012-02-11 Thread Laurens Van Houtven
Woo, excellent :) I am very excited by this project and your progress so far, keep up the good work :) On Sat, Feb 11, 2012 at 12:52 AM, Myers Carpenter wrote: > I'm working on a SPDY protocol implementation for Twisted. I've been > keeping a hacking log here: > > http://icepick.info/2012/02/1

Re: [Twisted-Python] pushing out same message on 100k TCPs

2012-02-11 Thread Phil Mayers
On 02/10/2012 08:20 PM, Tobias Oberstein wrote: > >> store the socket buffer as a (fairly complex) linked list of >> reference-counted >> blocks, and use scatter-gather IO to the network card. > > Doesn't a (modern) kernel do something like that for virtual memory pages ie.? Possibly. My knowledg

Re: [Twisted-Python] pushing out same message on 100k TCPs

2012-02-11 Thread Phil Mayers
On 02/10/2012 09:54 PM, Glyph Lefkowitz wrote: > I believe the best model for this kind of high-volume > reliable-multicast-over-unicast is a spanning tree, like what IRC For what it's worth, real IP multicast is quite commonly used for distributing short messages to many clients in realtime in