lukaaash / sftp-ws

SFTP over WebSockets - client and server package for Node.js
MIT License
34 stars 16 forks source link

any performance/benchmark test? #4

Open cocodrino opened 9 years ago

cocodrino commented 9 years ago

Hi, I come here from your article in http://lukas.pokorny.eu/sftp-over-websockets/ and it's great but I'm courious about how good can scale this solution, for instance, I've stored big files of a few gb in a ftp server, I need than many users can upload or download files of similar size, sftp-ws could be a good approach or can you recommend me some alternative?, thanks!

lukaaash commented 9 years ago

The browser-based SFTP client can currently achieve upload speeds of 24 MB per second in Firefox and 12 MB in Chrome when running locally in Windows 10 on my 2-year-old high-end Dell laptop (both the client and server run on the same machine and no SSL was used). During the upload, the server consumes less than 7 % total CPU power. Based on this, I assume that it might scale quite well.

If you would like to give it a try, I added a very simple browser-based app that measures upload speed.