Your Ad Here Your Ad Here
Results 1 to 8 of 8

Thread: UDP vs. HTTP

  1. #1
    Checked the stickied FAQ's, couldn't find an answer, maybe i'm stupid.

    Whats the difference between a UDP tracker and a HTTP tracker? I'm sometimes presented with a choice.

  2. BitTorrent   -   #2
    Join Date
    Feb 2003
    found this:

    One advantage of UDP compared to http is that UDP messages are more compact and generate considerably less traffic.

    Last edited by {I}{K}{E}; 08-28-2005 at 06:30 PM.

  3. BitTorrent   -   #3
    Short answer, it's just a different protocal. Supposed to save bandwidth.

    I don't think all clients accept it. I know the latest Azureus does.

    I tested it versus HTTP on a torrent from Demonoid a long time ago. Seemed to get better download speeds but could have been due to other things (like my imagination).

  4. BitTorrent   -   #4
    Excellent, thanks.

  5. BitTorrent   -   #5
    99shassan's Avatar Poster BT Rep: +1
    Join Date
    Jul 2003
    doesn't udp not use windowing? so it should be faster because of that?
    Changed SPAN settings in sig a YEAR after it was removed

  6. BitTorrent   -   #6
    More streamlined, geared more towards data transfer.

    Kinda FTP:// with better compatability.

    Thats what I gather with a few reads.

    I is not no engurner tho.

    I'm good with lego's.
    Last edited by Dredpirate; 08-29-2005 at 04:48 AM.

  7. BitTorrent   -   #7
    lynx's Avatar .
    Join Date
    Sep 2002
    Yorkshire, England
    UDP is "connectionless". That means you simply send the packet to its destination. If it doesn't arrive then it is lost, tough luck. If a response is required, that is another packet. Maximum 2 packets.

    The alternative is TCP (not HTTP). TCP is connection oriented. You have to set up a connection (4 packets I think), send the data and receive the acknowledgement (2 more packets). If a response is required that's another 2 packets. Then the connection has to be closed (another 4 packets I believe). That's a total of at least 10 packets to send data to the tracker. Since it is only unimportant informational data that's a lot of overhead, especially for the tracker.

    Just to be clear, HTTP may be used (I haven't looked into it that deeply) but since HTTP is a datastream protocol which is sent over a TCP connection it is the TCP which causes the overhead.
    Political correctness is based on the principle that it's possible to pick up a turd by the clean end.

  8. BitTorrent   -   #8
    It's just refered to as:

    Download via HTTP: Tracker
    Download via UDP: Tracker

    on demonoid, (beleive thats where the question stemed from)

    HTTP uses TCP so I guess thats why they say it that way.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts