Live data from Hacker News

Show HN: Synapse, a full featured BitTorrent client in Rust

github.com

51–60 of 73 posts

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#52
post #8

Earlier quoted context omitted.

Synapse is not designed for people who want this use-case. It's primarily designed for seedbox users who want a daemon to control remotely. It's also designed to efficiently work at scale, and takes advantage of native features like mmap to download quickly. Also, it wasn't rewritten in Rust from some other language, it was written in Rust in the first place.

Is it also to reduce security concerns?

I chose Rust because of its combination of ergonomics and low level control available. The safety came as a bonus.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#53

Earlier quoted context omitted.

Honestly it should be standard in all browsers.

What if I'd argue otherwise - that download managers (including plain HTTP(S) downloads) shouldn't be a part of browser, but a separate pieces of software? I suspect that in modern "we don't download anything, we watch/read/run this on the web" times in-browser downloading is bound to be second-class citizen that vendors would not pay any significant attention to beyond the simplest scenarios. Basically, the torrent…

What if I'd argue otherwise - that download managers (including plain HTTP(S) downloads) shouldn't be a part of browser, but a separate pieces of software?

Well, they used to be, but now they aren't anymore, so you'll probably want to start somewhere around there. In the early days of resumable HTTP downloads and simpler browsers, there were lots of download managers.

https://www.internetdownloadmanager.com/support/using_idm/us...

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#54
post #43
post #26

Earlier quoted context omitted.

I actually find it seriously impressive. It demonstrates it works for you right now , and it works seamlessly!

It's impressive, but it doesn't necessarily actually download the file from webtorrent peers. It will happily do HTTP streaming, instead. It works fine for me even though my browser is configured to block third party traffic by default.

Ah, it's a bit misleading then

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#55
It would be great to have a client that works well for seeding massive amounts of torrents (100,000+) on weak hardware (like a Raspberry). The main problem seems to be memory usage.

How is the memory usage of this one?

It says it is light-weight. What kind of light-weight is it and are there some metrics?

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#56
post #55

It would be great to have a client that works well for seeding massive amounts of torrents (100,000+) on weak hardware (like a Raspberry). The main problem seems to be memory usage. How is the memory usage of this one? It says it is light-weight. What kind of light-weight is it and are there some metrics?

That's an interesting use case you have there... care to explain the motivation?

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#57
post #55

It would be great to have a client that works well for seeding massive amounts of torrents (100,000+) on weak hardware (like a Raspberry). The main problem seems to be memory usage. How is the memory usage of this one? It says it is light-weight. What kind of light-weight is it and are there some metrics?

Even if you solve the memory issues you will still be constrained by the NIC.

Most of these SBC's run ethernet over USB, so the performance is still going to be shit.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#58

Earlier quoted context omitted.

Is it also to reduce security concerns?

I chose Rust because of its combination of ergonomics and low level control available. The safety came as a bonus.

Ergonomics? I love rust as much as the next guy but ergonomics was the one recurring pain point for me. So much of the language is inconsistent/incomplete and the debuggers barely work sometimes.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#59
post #55

It would be great to have a client that works well for seeding massive amounts of torrents (100,000+) on weak hardware (like a Raspberry). The main problem seems to be memory usage. How is the memory usage of this one? It says it is light-weight. What kind of light-weight is it and are there some metrics?

Even if you solve the memory issues you will still be constrained by the NIC. Most of these SBC's run ethernet over USB, so the performance is still going to be shit.

Probably still good enough to saturate the typical American broadband connection though.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#60
post #55

It would be great to have a client that works well for seeding massive amounts of torrents (100,000+) on weak hardware (like a Raspberry). The main problem seems to be memory usage. How is the memory usage of this one? It says it is light-weight. What kind of light-weight is it and are there some metrics?

Please help test it! We currently mean lightweight in terms of design, but we also want it to be lightweight in terms of performance. But we haven't had many opportunities to test it with truly huge numbers of torrents (though we have tested it on large torrents (1.5T+) with lots of files (1000+)).

As far as memory usage goes, I don't think low-memory devices have been a use-case Luminarys has had in mind yet, but he's probably on board with tuning with that in mind. On my client right now I have 45 torrents, 3 seeding, and one is that huge one I mentioned before - and synapse is using 1.2G of RAM, and 41G of virtual memory.

Post reply on HN