'Write large amount to transport, then wait for a while for buffers to
fill up.'

def write(self):

    self.transport.registerProducer(self, True)
    for i in range(100):
        self.transport.write(('1234567890' * 32000))
