[Twisted-Python] hardcoded SIZE_LIMIT
Uwe C. Schroeder
uwe at oss4u.com
Wed Oct 8 15:29:05 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
I asked the same thing a while back.
Actually from the way Twisted is designed it's a good thing to have the size
limited. If you transfer large files in a return
you might end up with a pretty sluggish twisted, specially in a heavy multi
user environment. I switched to use the pager, which allows twisted to
transfer the file at it's own pace, and allows you to put in a preogress
dialog pretty easily since there is a callback on the chunks transmitted.
Go the extra mile to understand the pager - it's worth it in the long run.
On Wednesday 08 October 2003 01:40 am, Christoph Wiedemann wrote:
> i'm trying to use PB for remote procedure calls in the context of numeric
> computations. So far things work really well (Twisted is a real cool piece
> of software!), but now i'm trapped by twisted.spread.banana.SIZE_LIMIT. I
> need to send pretty much data over the network (~512 MB) and tried out to
> set the SIZE_LIMIT to 640 MB. Hmm, still getting the "String too long
> exception", cause the 640 kB are hardcoded in cBanana.c. Any chances to
> make the limit configurable ?
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Twisted-Python