networking - how many TCP connections used to download 2 MB file? -


typically, how many tcp connections used download 2 mb file? if file size 200 mb, how many connections then?

in general, single tcp connection used transfer file, regardless of size. way works on http example; 1 connection opened , stays open duration of transfer. (in fact http can transfer multiple files on same connection, 1 after other).

there protocols can use multiple connections doesn't depend on file size. example, ftp uses 1 connection control commands can use second connection each file transfer. example amazon's aws client can "chunk" large file separate bits , transfer them in parallel. that's unusual , in general 1 file = 1 connection.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -