Skip to content

Optimize SFTP download performance - #37

Merged
VulcanoSoftware merged 1 commit into
mainfrom
optimize-sftp-downloads-14659272526158921512
Sep 2, 2026
Merged

Optimize SFTP download performance#37
VulcanoSoftware merged 1 commit into
mainfrom
optimize-sftp-downloads-14659272526158921512

Conversation

@VulcanoSoftware

Copy link
Copy Markdown
Owner

Optimized SFTP download speed by:

  1. Spawning concurrent background producers in MessageApi.download_file_parallel to achieve true multi-connection parallel downloads across HTTP Range sub-requests.
  2. Improving DCFSSFTPBufferedFile read buffering in the SFTP handler to support forward skips up to 2MB and retain recently fetched data, preventing stream cancellations and re-downloads during SFTP client pipelining and out-of-order read requests.
  3. Adding unit tests for parallel message downloads and SFTP pipelined reads.

PR created automatically by Jules for task 14659272526158921512 started by @VulcanoSoftware

… reuse

Co-authored-by: VulcanoSoftware <113239901+VulcanoSoftware@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@VulcanoSoftware
VulcanoSoftware marked this pull request as ready for review September 2, 2026 09:21
@VulcanoSoftware
VulcanoSoftware merged commit 640ab93 into main Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant