Currently, this module waits for the response to each Prepare packet before sending the next one. If the path can support sending multiple packets at the same time, the module should fire off as many as possible so that the money and data is sent as quickly as possible.
To do this, STREAM would need to keep track of:
Total amount of money in flight and the path limit
Total number of bytes in flight and the path limit
Total number of packets in flight (and the path limit, if there is one)
Is it possible to take advantage of RTMFP protocol in Interledger Streaming services? It is encrypted, p2p protocol for streaming. That would be huge :)
Currently, this module waits for the response to each Prepare packet before sending the next one. If the path can support sending multiple packets at the same time, the module should fire off as many as possible so that the money and data is sent as quickly as possible.
To do this, STREAM would need to keep track of: