-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extremely slow? #123
Comments
I want to know this as well. Came here for this. |
There is a TURN server configured (https://github.com/RobinLinus/snapdrop/blob/master/client/scripts/network.js#L515-L517), however, it seems to be offline. So the files will only be sent p2p in the local network. We don't yet understand why the speed is sometimes so slow. It might have to do with the fact that files need to be fragmented before they are sent. |
What prevents you from using simpler protocols like sftp, ssh, ftp, which can all be faster? I'm not too familiar with what you have at your disposal with js |
The goal with Snapdrop is that it is usable without installing anything. So we are limited to the APIs the browser provides. Since we want to transfer 2p2 we need a browser API that opens a listening port and serve the protocol on that port. AFAIK only WebRTC provides this functionality. |
And info point: |
I tried some transfers and here is the result of transfer speed: Wifi Router (2.4 Ghz) with connected android/windows: 1.8/9 mbps |
Would maybe disabling chunking help? Or would that be unreliable? Edit: I wonder also if the chunk size is just much too low? (it currently creates around 300 chunks for a small 20MB video which probably produces a big overhead already) |
Can't reproduce with a 320MB file. |
How fast is your transfer speed? |
There is no obvious way to measure that but it was going reasonable fast. Maybe a half a minute or so. |
half a minute (10MB/s) would still be slow for gigabit wi-fi networks which should be capable of at least around 30MB/s |
My phone measures 250mbit/s to the Internet on 5GHz. Yet, it takes 2-3 minutes to copy a 40MB file from my phone to my desktop using Snapdrop, which I assume is purely using the local network?
The text was updated successfully, but these errors were encountered: