[Twisted-Python] When do calls to transport.write() block ?

May 11, 2004
11:03 a.m.
Hi everyone! I have looked through quite a bit of Twisted's code by now, but I just can't manage to figure out how those transport.write()s work. The servers I looked through always come back to this without putting any special treatment into it. My question is: If a server starts sending as fast as it can, what will happen to the output queue? Will Twisted just eat up all memory with buffers? Will it start blocking? Will it open up a thread? What will it do? Since this really is an important question, I'm sort of worried that it's not a big issue in the documentation... Thanks for any hints, Stefan
7612
Age (days ago)
7612
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Behnel