java - Downloading algorithm -


i have weird question. want create down-loader tool. idea have in mind is, while downloading file source should able divide file in chunks. example. if size of file 100 mb want 5 streams pointing machine download 20mb each simultaneously makes 5*20=100. solution have problem client down-loader tool there server. first file downloaded on cloud server(coz speed fast take seconds). , server can many streams want depending on size of file. idea make me utilize full bandwidth of connection.

i'm using java btw!!!

if original location of file on slow server, downloading cloud server won't fast.

when it's on cloud server, won't faster download in separate chunks in 1 chunk.

therefore idea doesn't work, except in case reason cloud server able download file faster directly.

that's not how networking works.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -