Thursday, November 16, 2006
Killer Feature

So I'm in the process of setting up a new way to send files through chungles -- via multicast/UDP. What does this mean to those who don't know what multicasting is? One transfer, multiple recipients. That is, user A can make one transfer at the speed of one transfer (theoretically) to users B, C, D, E, and so on. I'm really excited about this feature as it'll be ideal for situations where you want to share something with all your friends or colleagues but don't want to go through either setting up a server which will require several simultaneous transfers, or bringing a usb thumb drive to everyone's computer, etc. Chungles will have the option for a multicast share folder where multicasted files can be stored and the UI will have a button which allows the user to multicast a file to all chungles clients on the network.

The only trouble with multicasting, which has UDP often referred to as unreliable, is that packets are often not delivered. In the case of file sending, every packet needs to arrive, so I have to develop a fallback system. I will probably use the default chungles TCP server for the fallback mechanism. I figure if you're sending a 500mb file to 20 users, with a packet loss rate of 1%, you have to resend 5mb of packets to 20 people (=600mb total sent), which is better than having to send 500mb 20x (=10GB total sent) over a reliable protocol.

I'll hopefully have a rudimentary version of this in the SVN repository soon.

posted by Alex at 3:55 PM 0 comments



Archives:
04/06/2005   04/08/2005   04/11/2005   04/12/2005   04/17/2005   05/08/2005   08/04/2005   08/06/2005   08/11/2005   10/08/2005   03/28/2006   04/19/2006   05/02/2006   09/29/2006   10/12/2006   11/01/2006   11/03/2006   11/05/2006   11/16/2006   11/21/2006   12/01/2006   12/03/2006   12/04/2006   12/07/2006   12/09/2006   12/11/2006   12/26/2006   01/28/2007   10/27/2008   08/08/2009