GoogleCloudPlatform / GoogleCloudPlatform/gsutil

rsync creates new connection per synched file

Open
#432 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

It seems that when using rsync it's creating a new connection per file. This involves setting up a new TLS connection, and it's not resuming the session. For small files this creates a large overhead.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reproducing `rsync` with multiple small files and trace where each file transfer establishes its TLS connection; then inspect the connection-management path. Done means repeated transfers avoid unnecessary new TLS connections and preserve session reuse, with regression coverage for the observed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.