Sunday, October 18, 2009

MonoTorrent 0.80 - Up up and away

MonoTorrent 0.80 has been released. I'd like to say "It's the best release ever", but that always makes me think "If it wasn't the best release ever, why would I release it?"

The full release notes can be read on www.monotorrent.com. For the lazy, I'll put a quick blurb about the two new most exciting new features available:

Metadata Exchange
http://www.bittorrent.org/beps/bep_0009.html

Put simply, this means you can click on a link like this: magnet:?xt=urn:btih:12345678901234567890 and then the torrent will magically [0] be able to download. Behind the scenes what happens is that peers are found via DHT and then they are queried for the .torrent metadata. Once the metadata has been obtained, the actual downloading can commence and away you go. Finally, I can start a download via text message!

Local Peer Discovery

This allows MonoTorrent to find other peers who are downloading the same torrent on the local network. A simple UDP broadcast message is used for discovery. This is an implementation of style LDP and so is fully compatible with uTorrent and other clients which have implemented this style. The main benefit of this is that in corporate or educational environments, it's possible that many people will be trying to access the same torrent at the same time. This approach allows all these peers to connect to each other and thus transfer the bulk of their data over the internal LAN rather than all of them fighting for bandwidth on the (usually) limited WAN connection.

As per usual, there are a bunch of bug fixes and enhancements. This is one more milestone on the way to the final 1.0 release. One which I'm really looking forward to. I might even do some nostalgia posts about the big disasters I created while learning C# and implementing this library ;)

[0] Actual product does not contain magic.

EDIT: Just clarified that the LPD implementation is the uTorrent style.

9 comments:

Anonymous said...

Is local peer discovery compatible with any other implementation?

Is there are spec for it?

Unknown said...

it is the same than utorrent one.
But do not find a spec on bittorrent.org.

Unknown said...

congrats alan! keep up the excellent work! you do a great job - not only on monotorrent :-)

Alan said...

uTorrent style local peer discovery took about 50 LOC to implement. The draft BEP [0] on the bittorrent.org developer site requires a working zeroconf daemon and probably about 100-200 LOC to implement. So, if I wanted to support LPD I'd have to require people set up a zeroconf daemon on their system which I didn't really want.

If someone wants zeroconf style LPD, I'm more than happy to accept patches, but I don't see it as a major feature or benefit.

Unknown said...

Nice to see LPD finally out there. Good stuff!

sports handicapping services said...

Very interesting post. I think this advice can be very helpful for many people.

Unknown said...

I’m glad I found your article. I would never have made sense of this topic on my own. I’ve
read a few other articles on this subject, but I was puzzled right
up until I read yours. I has some good article to share with you.. Check List Here obat ligamen putus

Unknown said...

bahaya menggunakan pantyliner setiap hari
cara membersihkan kandungan setelah keguguran
cara menjaga kesehatan jantung dan pembuluh darah

Unknown said...

Anyang anyangan proporciona un dolor como en una cuchilla de afeitar en la piel al orinar. Esta sensación continuará sintiéndose si la infección no se ha curado por completo. Anyang Anyang Drugs In Women en las farmacias obat anyang anyangan di apotik

Hit Counter