[Twisted-Python] Large Transfers

Uwe C. Schroeder uwe at oss4u.com
Sun May 11 10:45:07 EDT 2003


On Sunday 11 May 2003 06:27 am, Glyph Lefkowitz wrote:
> On Saturday, May 10, 2003, at 08:33 PM, Uwe C. Schroeder wrote:
> > Thanks a lot for taking the time to assemble this.
> > This makes it way clearer.
>
> You're welcome.  I'm glad that it made sense.
>
> If you want to repay the favor, turning this into a more
> generally-useful utility class and contributing it back to Twisted
> would be great :-).
>
> PB wizards: look at the example in the previous file.  I think that
> with some cacheable magic we could actually set up a utility using
> Cacheables where, when a Pageable is returned, it instantiates an
> appropriate client-side collector object and then returns that as the
> final answer when the paging is done.  This would be more convenient
> than having to change the signature of objects which may return large
> quantities of data.  For extra credit, add an errback-calling mechanism.

And maybe add some methods to do this the other way round so that it becomes 
bidirectional.

	UC

--
Open Source Solutions 4U, LLC	2570 Fleetwood Drive
Phone:  +1 650 872 2425		San Bruno, CA 94066
Cell:   +1 650 302 2405		United States
Fax:    +1 650 872 2417





More information about the Twisted-Python mailing list