Design a Large-File Transfer and Sync Service
SCP, short for secure copy, copies a file from one machine to another over an SSH (Secure Shell) connection. For a few gigabytes it works fine. A terabyte is different. The copy takes minutes on a fast local network and most of a day over a slow link between sites. One TCP (Transmission Control Protocol) connection struggles to keep a long link busy, and a dropped connection at hour 15 means starting over. A flipped bit can slip through unnoticed, too. This is the design prompt candidates reported most from 2022 to 2024, in SDE2 and senior (SSE, senior software engineer) loops. It belongs to the system design round, the dedicated design interview that sits next to System Coding in the loop. Close cousins still come up. A senior candidate with a 2026 offer described one design round as "similar to dropbox with additional constraints". A 2026 SDE2 loop asked how to sync two huge hash maps across regions while sending as little as possible, which dive five covers. The wording moves around. Sometimes it's scp from machine 1 to machine 2 for a 1 TB file. Sometimes it's an FTP-like or rsync-like system. FTP is the old File Transfer Protocol, and rsync is the Unix tool that updates a copy by sending only the differences. Other times it's a large binary file to transfer and then keep in sync. We'll design the copy first and the sync second, which is the order the follow-ups tend to arrive in.
RubrikPremium lesson · System design round
The Rubrik design, worked end to end.
- The API and data modelSystem design · Frequently asked
- The design, drawn out2 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
202 Rubrik interview reports · guide updated
Rubrik interview guideKnow what Rubrik asks before you walk in.
25 coding · 4 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.