[Twisted-Python] producer / consumer question

Jean-Paul Calderone exarkun at divmod.com
Thu Jul 5 11:01:52 EDT 2007


On Thu, 05 Jul 2007 09:01:00 +0200, Markus Schiltknecht <markus at bluegap.ch> wrote:
>Hi,
>
>glyph at divmod.com wrote:
>>Keep in mind, also, that a great deal of code has been written (and will be 
>>written before everyone has upgraded to the next version of Twisted) that 
>>uses the current IConsumer/IProducer APIs, and all of that will need to 
>>keep working for the forseeable future.
>
>Sure. I'm currently in the situation, that I need to write a stream server 
>capable of handling various sources (database, files, http, etc...) and 
>various formats (images, videos, etc..). And as we've already learned, it's 
>well worth thinking about a good abstraction for such streaming tasks. The 
>IConsumer/IProducer pair seems to be the right thing, but if the API isn't 
>stable (AFAIR semi-stable is stated in the documentation)...

It's stable.  There isn't any documentation that indicates otherwise.

Jean-Paul




More information about the Twisted-Python mailing list