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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -