When rsync isn't there or is too slow
Two scenarios make tar | ssh faster than rsync:
- Many thousands of tiny files. rsync's per-file metadata overhead becomes the bottleneck. tar streams everything as one continuous archive.
- The remote side doesn't have rsync installed (rare these days, but sometimes).
The pattern is a Unix classic: tar creates the archive on stdout, the pipe feeds it to ssh which runs tar on the remote to extract. No intermediate files, no temporary disk space, just a stream.