carrot / ship

⛔️ currently unmaintained ⛔️
Other
151 stars 14 forks source link

VPS Ship can use rsync #13

Closed kylemac closed 10 years ago

kylemac commented 10 years ago

Since we're just shipping static files, for VPS we should probably just use rsync. It's pretty speedy and is probably all that we need.

A quick google shows there are some node abstractions - https://github.com/mattijs/node-rsync

jescalan commented 10 years ago

I'm not sure that will work cross-platform like sftp would, or if it would be as quick. There's also already a structure in place using sftp (which is very quick, async and opens 20 parallel streams per file) - is there any advantages that rsync would have? That library does look nice though!

hhsnopek commented 10 years ago

"The main advantage of sftp (and the related scp) is that of generally being available anywhere where ssh is available, so just about any Linux/BSD/similar client or server setup, whereas rsync doesn't tend to be installed by default." - serverfault

Here's cwRsync for windows. One more step for the client to install if rsync is used, unless using node-rsync works on windows already?

jescalan commented 10 years ago

node-rsync does not work in windows

kylemac commented 10 years ago

well that kills that. I hadn't thought much about potential compatibility issues. thanks for chiming in @HHSnopek also!