I have read the document of Stem. I notice that new_circuit()
and extend_circuit()
can create new circuit.However,I have two problems:
- I can't make sure when I create a new circuit, will the old circuit be killed, because I notice the circuit's life-time just 10 minutes. I mean will there be 2 circuits after I created a new one?
- If the previous circuit can be used after I create new circuit.
Assume that I have created 5 new circuits and I want to send 4G-size file, to improve transmission efficiency ,how can I use these 5 circuits to transmit data together at the same time? I mean let the five circuits transmit the data of this file at the same time, instead of using one of them for a while, and switch to another circuit.(so I can't just use
attach_stream()
andcontroller.set_conf('__LeaveStreamsUnattached', '1')
to attach the stream to one circuit like
How to assign a stream to a circuit?
Can anybody help me figure out two question?Thanks!