Skip to content
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

Upload speed seems slow #134

Open
kirkcc opened this issue Mar 23, 2022 · 1 comment
Open

Upload speed seems slow #134

kirkcc opened this issue Mar 23, 2022 · 1 comment

Comments

@kirkcc
Copy link

kirkcc commented Mar 23, 2022

Hi,
After I test this code on my local VM , I transfer a 100MB file between my VirtualPC and browser , the upload speed is only 1Mbps. But the transfer speed using ftp is around 1.4Gbps.
Can you tell me maybe which part was wrong ??

@sffc
Copy link
Owner

sffc commented Mar 23, 2022

Socket.io incurs some overhead like serializing into the web socket, writing the file to a WriteStream, etc. I'm a bit surprised the difference would be quite that large, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants