Live data from Hacker News

Build your own BitTorrent

app.codecrafters.io

131–136 of 136 posts

Re: Build your own BitTorrent

#131

For anyone who is interested in peer-to-peer systems like this, and completes Sarp's course, I have an open interview challenge you can submit it to if you find that you want to continue building in this space as a profession: https://gitlab.com/webai-open/network/interview-challenge Take the guidelines to heart though. We evaluate you on demonstrating understanding of what you did, not that you completed the course.…

This is so cool! Have you already hired people using this method? Or is this a new initiative?

It's new, and an experiment, but I have high hopes for it.

Re: Build your own BitTorrent

#132
post #8

Jon Gjengset[1] is currently doing a livestream on the same challenge in Rust, on his YT channel[2]. [1]: https://thesquareplanet.com/ [2]: https://www.youtube.com/watch?v=jSTkEPPiULs

It is amazing to see him code. Are there other expert programmers out there who code in Python (instead of Rust)?

Re: Build your own BitTorrent

#133

Does anyone know why BitTorrent-based Linux package managers has not become a thing?

Most linux distributions have a rather robust mirroring operation. This is much faster than bittorrent. Lots of cloud vendors provide a mirror endpoint for traffic within their network, and ISPs typically also have them. The network is fast enough for lots of small files to not really justify it.

> The network is fast enough for lots of small files to not really justify it.

Not really true. Try the following: ssh into the host doing the mirroring, with socks proxy. Now socksify apt through the connection.

The speed difference is amazing. Despite double encrypting.

Re: Build your own BitTorrent

#134
post #41

Does this include the DHT? BT, the protocol itself is not very interesting, it's just a very bad file access protocol over HTTP without DHT, which makes it really P2P.

(codecrafters dev here) It doesn't, but will soon: https://app.codecrafters.io/vote/challenge-extension-ideas?c... . We release a set of "base" stages first, and then work on extensions based on demand. DHT is one of them, magnet links is another that folks have voted for.

Great!

Re: Build your own BitTorrent

#135
I love the idea of this site but I don’t understand the pricing model. It says 30$/month but I can only pay 120$ for 3 months. It should be 90$ for 3 month. A monthly payment model would be more accessible. I do I misunderstood something?

Re: Build your own BitTorrent

#136
post #115
post #93

Earlier quoted context omitted.

> After completing all the challenges on the site, I ran out of things to do. This is when I decided to build a BitTorrent client which was one of the highly voted ideas on the site. Are you employed by them now?

I'm not an employee of Codecrafters. I worked with them for the BitTorrent challenge as an independent contractor.

This is such a cool result. I would love to see the next step of creating a tool like Resilio sync that builds upon this work!
Post reply on HN