News for hackers. Stuff that matters.

Ask HN: Fastest way to tranfer large files?

It's 2019 and I have fiber in two locations with computers that I need to transfer large files between quickly. What's the fastest way to do that?

G-Drive has always capped me around 15mb/s and then it still has to be downloaded. Bittorrent Sync / Resilio doesn't want to go above 500kbps.

( 17 comments | 7 points | on HN )
Re:Ask HN: Fastest way to tranfer large files? by Nextgrid on Sunday April 21, 2019 @07:48AM (#19711650)
SFTP, although you might be limited by the encryption’s performance. If authentication & confidentiality aren’t needed you can downgrade to a quicker (& less secure) cipher such as arcfour.
Re:Ask HN: Fastest way to tranfer large files? by mindcrime on Friday April 19, 2019 @12:53AM (#19697185)
Possibly GridFTP[1], UDT[2], or Tsunami[3]? Also consider the old adage: "Nothing beats the bandwidth of a station wagon full of tapes hurtling down the freeway."

[1]: https://en.wikipedia.org/wiki/GridFTP

[2]: https://en.wikipedia.org/wiki/UDP-based_Data_Transfer_Protoc...

[3]: https://en.wikipedia.org/wiki/Tsunami_UDP_Protocol

Re:Ask HN: Fastest way to tranfer large files? by imagetic on Friday April 19, 2019 @01:56AM (#19697390)
And today we drove hard drives to save 6 hours!
Re:Ask HN: Fastest way to tranfer large files? by Adamantcheese on Friday April 19, 2019 @07:01PM (#19703724)
Wouldn't you be speed limited by the lowest bandwidth equipment in the mix? Unless it's fiber (or equivalent bandwidth) from end to end you're not going to be able to go faster than what the slowest machine will process. If your outbound bandwidth is limited, you may want to compress files locally first, to save on transfer time. That being said, 64-bit scp will probably work fine? If there's no restrictions, making it a torrent would probably work as well, if you need to transfer them more passively.
Re:Ask HN: Fastest way to tranfer large files? by imagetic on Saturday April 20, 2019 @07:30PM (#19709577)
In this situation both points are on consumer fiber (AT&T). A 28 GB file takes roughly 1 hour to upload to G-Drive and 1-2 hours to download on the other side. Speeds caps out at 14 MB/s using most services like G-Drive, Dropbox, etc.

Multipart/chunking with S3 / Google Storage may yield faster results.

Bittorrent/Resilio Sync is extremely slow, sub 1MB/s.

Re:Ask HN: Fastest way to tranfer large files? by shpx on Friday April 19, 2019 @12:36AM (#19697140)

    rsync -P -e ssh <username>@<hostname>:/file/you/want/to/copy.txt ~/wherever/you/want/to/put/it
"-P" is to report progress and to not delete files that haven't been transferred completely (in case the connection drops out) and "-e ssh" is to transfer files over SSH.
Re:Ask HN: Fastest way to tranfer large files? by imagetic on Friday April 19, 2019 @12:39AM (#19697144)
rsync is extremely slow in my experience, and from client to server a great tool, complex to go from client to client machine.
Re:Ask HN: Fastest way to tranfer large files? by avichalp on Friday April 19, 2019 @04:34AM (#19697937)
Yes, I second that. I usually need to download not so big (~1 GB) files from server. I am also looking for a faster way.
Re:Ask HN: Fastest way to tranfer large files? by lastofus on Friday April 19, 2019 @02:49PM (#19701978)
If you are serious about saturating your pipe as a business with some cash to spend, there is Aspera. My understanding is that they build their own protocol on top of UDP to avoid pesky behavior of TCP.
Re:Ask HN: Fastest way to tranfer large files? by imagetic on Friday April 19, 2019 @05:33PM (#19703194)
Aspera I have used for bigger TV / production work. The bill breaks the budgets for my freelance work.
Re:Ask HN: Fastest way to tranfer large files? by _shadi on Friday April 19, 2019 @09:46AM (#19699549)
if you can open any port on the receiver computer then I would go with nc.

Receiver: nc -q 1 -l -p $PORT | tar xv Sender: tar cv . | nc -q 1 $IP_ADDRESS $PORT

Re:Ask HN: Fastest way to tranfer large files? by elamje on Saturday April 20, 2019 @02:07AM (#19705058)
Re:Ask HN: Fastest way to tranfer large files? by imagetic on Saturday April 20, 2019 @07:31PM (#19709580)
We're trying to send 28GB files though.
Re:Ask HN: Fastest way to tranfer large files? by golem14 on Thursday April 18, 2019 @11:49PM (#19696961)
You can copy chunks of the large files in parallel. Entire doable but needs thorough testing.
Re:Ask HN: Fastest way to tranfer large files? by golem14 on Thursday April 18, 2019 @11:52PM (#19696975)
Actually, https://www.sanger.ac.uk/science/tools/pcp-parallel-copy seems to have an implementation- have not tried it myself.
Re:Ask HN: Fastest way to tranfer large files? by imagetic on Friday April 19, 2019 @01:57AM (#19697395)
tranfer? I would have a typo in the title.
Re:Ask HN: Fastest way to tranfer large files? by rolfeb on Friday April 19, 2019 @04:42AM (#19697966)
Pretend it is 1990...

FTP.