AminBhst/brisk

Dynamic Segmentation

Closed this issue · 1 comments

To maximize download speed at all times, the ultimate solution is to reuse connections that have received their designated bytes and dynamically segment the bytes of other connections.

e.g. Connection 2 and 3 have finished downloading and connection 1 is still receiving bytes. In this case, connections 2 and 3 each should be assigned to receive 1/3 of the remaining bytes of connection 1. By doing so, all connections will remain active at all times and the download speed will be boosted in cases with slow download speed on single connections.

The algorithm will most likely be complicated to implement and requires extremely rigorous testing to ensure stability and prevent file corruption.

Moved to #52