[Twisted-Python] Memory usage in large file transfers

Itamar Shtull-Trauring itamar at itamarst.org
Tue Dec 2 10:38:52 EST 2003

On Tue, 2 Dec 2003 15:46:07 +0200
"Nikolaos Krontiris" <nkrontir at hotmail.com> wrote:

> nk: I had originally thought about using basic.FileSender but a) It
> has been commented as unstable by the twisted development team and b)I
> need to send a client ID each time I send a single buffer (security...
> what can you say...). To make sure that I'm not holding the entire
> file's contents in

You don't have to use FileSender as is, you could write a variant of it
using the underlying producer/consumer APIs, that's the solution. See

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting

More information about the Twisted-Python mailing list