Re:UDP vs TCP
by SomeStupidPoint on Wednesday December 28, 2016 @10:03PM
(#13275394)
But bittorrent breaks the files in to chunks it can receive out of order and sends those over TCP, so TCP only preserves ordering within a chunk. It might even get chunks from several different people.
The real answer is that chunking over TCP is efficient enough that little is gained by chunking over UDP.
Re:UDP vs TCP
by blackflame7000 on Thursday December 29, 2016 @09:14AM
(#13277349)
Yes what I'm saying is that bit torrent uses TCP to segment fileblocks instead of using UDP to send the file block as one large datagram
I see what you're getting at by trying to avoid processing the packets in order if it wastes time, but ultimately I think its a micro-op that introduces other bottlenecks. That's why bit-torrent still typically uses TCP even though they could potentially receive file parts in any order.