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

parallel partial scp upload ? #394

Closed
grosser opened this issue Mar 20, 2017 · 4 comments
Closed

parallel partial scp upload ? #394

grosser opened this issue Mar 20, 2017 · 4 comments

Comments

@grosser
Copy link
Contributor

grosser commented Mar 20, 2017

is there an option to make scp upload parallel parts ?

for example for a 100mb file upload 3 33mb parts in parallel ... lftp seems to support that, but using it is not trivial ... (seeing 16min -> 6min upload improvement)

@leehambley
Copy link
Member

I don't think it's plausible given the current APIs, perhaps you'd be better served shelling out to rsync? Which is pretty trivial in the confines of Capistrano/SSHKit as you have access to Rake's sh helper?

@grosser
Copy link
Contributor Author

grosser commented Mar 20, 2017 via email

@mattbrictson
Copy link
Member

SSHKit mostly just delegates to net-scp for our scp functionality. A quick glance at that repo indicates that a parallel partial upload is not supported.

https://github.com/net-ssh/net-scp

This is probably too much of an edge case for us to build this as part of SSHKit, IMHO.

@grosser
Copy link
Contributor Author

grosser commented Mar 20, 2017

yeah, move the issue to net-ssh/net-scp#32 thx for the quick reply!

@grosser grosser closed this as completed Mar 20, 2017
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

3 participants