Content Table

UDP vs TCP File Transfer: Why Your 1 Gbps Link Delivers 10 Mbps

You paid for a 1 Gbps connection. Your transfer to the overseas office crawls along at 10 Mbps. The bandwidth is fine. The protocol is not. In any UDP vs TCP file transfer comparison, the gap comes down to two forces TCP handles poorly: distance and packet loss. That is why teams moving large datasets between regions treat Enterprise File Transfer as its own layer of infrastructure rather than a feature of FTP.

The second half of the problem is operational. Once transfers are fast, they still need scheduling, verification and audit trails, which is the job of Managed File Transfer. This guide explains the math behind slow TCP transfers, why UDP-based protocols avoid it, and when TCP is still the right choice.

Key takeaways

  • A single TCP stream can never move more than one window of data per round trip. On a 1 Gbps link, a 64 KiB window caps you near 10 Mbps at 50 ms.

  • Modern operating systems scale the window automatically, but loss still forces TCP to cut its sending rate.

  • ESnet measured TCP running almost 17× slower on a 90 ms path when 1 packet in 22,000 was lost.

  • UDP-based transfer protocols keep TCP for control and move data over UDP, with reliability rebuilt in the application.

  • For large files over long, lossy paths, the fix is a different transport, not a bigger pipe.

 

What is the difference between UDP and TCP for file transfer?

TCP delivers every byte in order and slows itself down whenever it detects loss; UDP simply sends datagrams and leaves reliability and pacing to the application. For file transfer, that means TCP-based tools such as FTP, SFTP and most HTTPS uploads inherit TCP's limits, while UDP-based tools must rebuild reliability themselves, and can rebuild it to suit long-distance links.

 

TCP-based transfer (FTP, SFTP, most HTTPS)

UDP-based accelerated transfer

Reliability

Built into the transport

Rebuilt in the application layer

Reaction to packet loss

Cuts the congestion window

Re-sends only missing data; rate set by the protocol

Sensitivity to latency

High: throughput bound by window ÷ RTT

Low, if the protocol is designed for it

Firewall setup

Usually already open

Needs a UDP port opened

Best fit

Small files, short paths, APIs

Large files across regions or oceans

 

The protocol choice matters most for bulk movement. Everyday collaboration, versioned folders and external share links are a different job, handled by Enterprise File Sync and Share.

Why does TCP slow down on long-distance links?

The bandwidth-delay product sets a hard ceiling

A single TCP connection can never move more than one window of unacknowledged data per round trip. To keep a link full, the window must be at least the bandwidth-delay product (BDP):

BDP = bandwidth × round-trip time (RTT)

A Raysync engineering post works through the classic case: a 1 Gbps link with 60 ms RTT needs a 7.5 MB window. With a 64 KB window, throughput is 65,535 bytes ÷ 0.06 s ≈ 8.7 Mbps, under 1% of the link.

That 64 KiB figure is not arbitrary. TCP's window field is 16 bits, so RFC 7323 notes that the largest window without scaling is 2¹⁶ bytes, or 64 KiB.

UDP vs TCP file transfer chart: a 64 KiB TCP window delivers about 10 Mbps at 50 ms on a 1 Gbps link

Figure 1. Single-stream TCP throughput ceiling on a 1 Gbps link by window size and round-trip time. Illustrative model calculated from the bandwidth-delay product; not a measured benchmark.

Round-trip time

Window needed for 1 Gbps

Window needed for 10 Gbps

Ceiling with a 64 KiB window

10 ms (same metro)

1.25 MB

12.5 MB

52 Mbps

50 ms (cross-country)

6.25 MB

62.5 MB

10.5 Mbps

100 ms (transatlantic)

12.5 MB

125 MB

5.2 Mbps

200 ms (intercontinental)

25 MB

250 MB

2.6 Mbps

 

Calculated from BDP = bandwidth × RTT. Real paths vary.

Modern stacks raise the ceiling, but not everywhere

Window scaling lifts the limit to 1 GiB (RFC 7323), and today's operating systems tune the window automatically. Microsoft says earlier versions of Windows used a fixed 65,535-byte receive window; current versions negotiate it through receive window autotuning. On Linux, autotuning is on by default, with the receive-buffer maximum set between 128 KB and 32 MB depending on RAM, and the send-buffer maximum between 64 KB and 4 MB.

So why does the 10 Mbps transfer still happen? Because a single stream only gets the window every hop allows. Microsoft's own troubleshooting guide traces slow throughput between two servers on a high-latency network to window scaling being disabled on both. Applications that pin their own socket buffers switch autotuning off for that socket. And even a 4 MiB ceiling caps a stream at about 168 Mbps at 200 ms.

How does packet loss cut TCP throughput?

TCP treats packet loss as a sign of congestion and reduces its sending rate, then rebuilds it one round trip at a time. The longer the round trip, the longer each recovery takes.

Classic Reno TCP halves its sending threshold on loss (RFC 5681). CUBIC, which RFC 9438 says is the default congestion control in the Linux, Windows and Apple stacks, reduces it to 70%. Either way, a single lost packet costs a long path far more than a short one.

The effect is measurable. ESnet, the US Department of Energy's science network, tested hosts with 10G NICs on uncongested paths. Losing 1 packet in 22,000 (0.0046%) cut throughput on a 90 ms path from 8.2 Gbps to 490 Mbps, almost 17 times slower.

For TCP Reno, the Mathis equation (Mathis et al., 1997) bounds throughput at roughly MSS ÷ RTT × 1.22 ÷ √loss. Halving the loss rate does not double speed; it only raises the ceiling by about 41%.

Time to move 1 TB at 100 ms: about 49 hours on lossy TCP versus about 2.5 hours with UDP-based acceleration

Raysync's engineering blog gives a field example: backing up 2 TB from Los Angeles to Virginia over 1 Gbps with 80 ms latency and 2% loss takes 36+ hours, against about 4.4 hours at line rate.

How does UDP-based file transfer stay reliable?

UDP-based transfer protocols keep the reliability and drop TCP's stop-and-wait behaviour: they send data continuously over UDP, track which packets arrived, and re-send only the missing ones. Raw UDP has no delivery guarantee, so reliability has to be rebuilt in the application.

The leading designs share a pattern:

  • TCP for control, UDP for data. IBM says Aspera FASP uses one TCP connection as a control channel and a UDP connection for data. Fortra says FileCatalyst still uses TCP for authorisation, setup and teardown, and UDP for the data itself.

  • Selective retransmission. The receiver reports missing packets, and only those are re-sent.

  • Rate control based on the path. The sender sets its rate from measured conditions instead of reacting to every loss the way TCP does.

  • Forward error correction. Raysync's engineering blog describes redundant data that lets receivers rebuild lost packets without a retransmission.

  • Checkpoint resume and verification. An interrupted transfer restarts from where it stopped, and the result is checked for integrity.

This is the core design of enterprise large file transfer platforms. Reliable transport over UDP is also mainstream on the web: QUIC, standardised in RFC 9000 (May 2021), carries its packets in UDP datagrams.

UDP vs TCP file transfer: when is TCP still the right choice?

TCP remains the right choice when files are small, paths are short, or the network allows nothing but TCP. It is the default for web traffic, APIs and many collaboration tools for good reason. Use TCP-based transfer when:

  • Round-trip times are low, such as within one metro area or data center.

  • Files are small and the transfer finishes in seconds either way.

  • Partners can only accept SFTP or FTPS, and firewall policy rules out UDP.

If transfers regularly cross countries or oceans, or the path shows measurable loss, test a UDP-based protocol.

Raysync vs IBM Aspera and FileCatalyst: which UDP-based option fits?

IBM Aspera, Fortra's FileCatalyst and Raysync all use UDP-based acceleration, so the protocol category alone will not separate them. Raysync's own comparison pages say so plainly and point to the differences that matter in practice: licensing, user limits, deployment and central control.

  • The Raysync vs IBM Aspera comparison covers licensing with unlimited users and transfer volume, share links with a password, expiry date and download limit, and Raysync Enterprise and Raysync Hub installed on your own servers.

  • The Raysync vs FileCatalyst comparison covers published pricing you can plan around and how Raysync Hub gives central control of every transfer node.

On any of them, your network, storage and servers often set the limit, so test on your own route.

How Raysync Enterprise accelerates large file transfer

Raysync Enterprise replaces TCP-bound transfer with Raysync's proprietary UDP-based protocol, built for exactly the long, lossy paths where TCP stalls. It is Raysync's enterprise large file transfer platform. According to the Raysync Enterprise page, it offers:

  • Up to 10 Gbps across intercontinental WAN links.

  • A stated speed-up of 100× over FTP.

  • End-to-end AES-256 encryption.

  • Automatic checkpoint resume, so an interruption never restarts a transfer from zero.

  • An integrity check on every sync completion.

  • Direct transfer between authenticated nodes.

  • Deployment on-premises, in the cloud or hybrid.

  • REST API, SDK and CLI access, plus Active Directory, OpenLDAP, Okta, OneLogin and Google Workspace integration.

  • Licensing by bandwidth tier, with unlimited users on each licence.

For organisations running transfers across many sites, Raysync Hub adds one console to manage nodes, schedule immediate, one-time or recurring tasks, cap bandwidth per node and keep operation and transfer logs. Hub costs $6,000 a year including six online nodes, plus $600 per additional online node per year.

How do you test whether UDP will speed up your transfers?

  1. Measure the path. Record RTT and packet loss between both ends at the hours you actually transfer.

  2. Calculate the BDP. Multiply bandwidth by RTT and compare it with the window your hosts actually reach.

  3. Check host tuning. Confirm window scaling and autotuning are enabled on both ends.

  4. Run a real file. Move a representative dataset over your current tool and record wall-clock time.

  5. Pilot a UDP-based transfer on the same route. Compare time, retries and verification results.

FAQ

Is UDP faster than TCP for file transfer?

For large files over long or lossy paths, a well-designed UDP-based protocol is usually much faster than a single TCP stream. On short, clean paths, the two perform similarly, and TCP is simpler.

Is UDP reliable enough to transfer files?

Raw UDP is not reliable, but UDP-based transfer protocols are. They add acknowledgements, selective retransmission and integrity checks in the application layer, so files arrive complete.

Why doesn't adding bandwidth fix slow TCP transfers?

Because a single TCP stream is limited by window size and round-trip time, not link capacity. A 64 KiB window at 100 ms caps throughput near 5 Mbps on a 1 Gbps link and a 10 Gbps link alike.

Do UDP-based transfer tools need special firewall rules?

Usually yes: the UDP data port must be open along the path. Products such as Aspera and FileCatalyst keep a TCP control channel, and FileCatalyst can fall back to multiple TCP streams where UDP is blocked.

Conclusion

Your bandwidth was rarely the bottleneck. In the UDP vs TCP file transfer question, TCP's window limits and its response to loss turn long paths into slow ones, and a bigger link does not change that. A UDP-based protocol with reliability built in keeps the pipe full across regions.

Test it on your own route. Request a free demo of Raysync Enterprise or Raysync Hub through the Raysync website, or read Raysync's engineering breakdown of how to overcome latency and packet loss.

Enterprise High Speed Large File Transfer Solutions

You might also like

How Latency & Packet Loss Hurt Large File Transfers — And How to Overcome Them

Industry news

October 29, 2025

Learn why latency and packet loss drastically slow down large file transfers and how UDP-based acceleration technology—like Raysync—solves these bottlenecks. Discover how to achieve 100x faster, secure, and reliable data transfers across any distance.

Read more
Three Raysync Integration Solutions: Powering Seamless File Transfers Across All Platforms

Industry news

August 15, 2025

Boost enterprise efficiency with Raysync’s integration solutions. Choose JS SDK for web apps, HTTP API for backend automation, or CLI for headless systems. Achieve 10–100x faster transfers, end-to-end security, and seamless cross-platform deployment.

Read more
Everything about Rsync Cloud in 2025

Industry news

February 20, 2025

Explore the latest advancements in Rsync Cloud technology for 2025. Discover new features, best practices, and innovative solutions for seamless cloud synchronization and backup.

Read more

By continuing to use this site, you agree to the use of cookies.