Git Product home page Git Product logo

Comments (10)

DiegoRBaquero avatar DiegoRBaquero commented on May 18, 2024

In theory, it should max out the uplink.

from webtorrent-hybrid.

sunilrx avatar sunilrx commented on May 18, 2024

Hi DiegoRBaquero,

But for me its very rarely touches 2 to 3MB/s, in most other case upload speed is less than 100KB/s

hoping for a solution.

from webtorrent-hybrid.

DiegoRBaquero avatar DiegoRBaquero commented on May 18, 2024

Are you seeding locally (same computer)? in the LAN? Internet?

Can you show me results from http://www.speedtest.net/?

from webtorrent-hybrid.

sunilrx avatar sunilrx commented on May 18, 2024

I am running the above as js in a Debian server.

from webtorrent-hybrid.

feross avatar feross commented on May 18, 2024

@sunilrx This is most likely an issue with your connection, or with your server's disk speed. Can you test your server speed using speedtest.net or https://www.npmjs.com/package/fast-cli ?

from webtorrent-hybrid.

brambox avatar brambox commented on May 18, 2024

There is no such thing as the maxing connection speed with the webrtc.
The seeding over Webrtc using webtorrent taxes, insane CPU resources and the faster network speed the more CPU it will use. Eventually Nodejs or something is limiting it. It will rarely go over 20 Mbit.

The crazy CPU usage has been issue since day one and still there is no fix and this is the main reason why webtorrent has not become anything big.
Well there is always a hope someone will find a way!

from webtorrent-hybrid.

jumpersdevice avatar jumpersdevice commented on May 18, 2024

@brambox Hi,

EDIT: there seems to have a limitation around 2/3Mbit (200-300kb/s) per peer when seeding, no matter if using desktop app or webtorrent-hybrid cli. I also tried this browser to browser and the speed limit was still there. The weird thing is when i try this within my LAN, it does max the uplink.

@feross @DiegoRBaquero any comment about this, what it might be happening here or where to look ?

my fast-cli speed was 500mbps so the issue isn't there.

I will keep testing and commenting.

Thanks for this wonderful piece of software. I really appreciate it guys.

Nicolas

from webtorrent-hybrid.

jumpersdevice avatar jumpersdevice commented on May 18, 2024

Did a little more testing today, fired up serveral instances of webtorrent-hybrid seeding the same torrent on the same computer and speed increased dramatically when requesting it from browser. It certainly looks like some kind of limitation now.

from webtorrent-hybrid.

feross avatar feross commented on May 18, 2024

fired up serveral instances of webtorrent-hybrid seeding the same torrent on the same computer and speed increased dramatically when requesting it from browser

I think this is because the wrtc implementation is different from browser implementations -- currently it's following Chrome M81 -- and it's not quite the same quality, much as the maintainers there try. It's really hard to work with libwebrtc.

Perhaps we can try testing another webrtc implementation that has Node.js bindings. Does anyone have suggestions?

from webtorrent-hybrid.

github-actions avatar github-actions commented on May 18, 2024

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

from webtorrent-hybrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.