Comments (10)
In theory, it should max out the uplink.
from webtorrent-hybrid.
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.
Are you seeding locally (same computer)? in the LAN? Internet?
Can you show me results from http://www.speedtest.net/?
from webtorrent-hybrid.
I am running the above as js in a Debian server.
from webtorrent-hybrid.
@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.
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.
@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.
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.
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.
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)
- No interoperability with instant.io HOT 1
- undefined symbol: napi_add_env_cleanup_hook HOT 1
- installation error HOT 3
- Error: Cannot read property 'catch' of null HOT 4
- Dependency Dashboard HOT 1
- installation fails HOT 1
- node-pre-gyp not found
- Unable to read event under a event. HOT 3
- cannot read property 'replace' of undefined
- Cannot import in expressjs HOT 5
- TypeScript support HOT 1
- Nodejs WebTorrent.WEBRTC_SUPPORT false, but expected true HOT 1
- Update for Fast Extensions? HOT 2
- WebRTC peer, not working the linux cli HOT 10
- `npm install webtorrent-hybrid -g` fails on Ubuntu 20LTS and Windows 10 HOT 9
- shouldn't this repository be invalid as webtorrent/webtorrent #143 was merged HOT 1
- Error: Cannot find module '../build/Release/wrtc.node' When using
- globalThis is not defined HOT 3
- Error about `node-gyp` or `node-pre-gyp` when install HOT 10
- `npm i -S webtorrent-hybrid` — error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent-hybrid.