when receiving a large file, "exporting" takes significant additional time (few minutes)

Open
#120 2 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mrsarthi is already working on this.

Since Oct 23, 2026.

  • #154 by @mrsarthi — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Start by locating sendme's receiving and export path, then inspect how it selects iroh-blobs' ExportMode. Compare the current Copy behavior with the documented TryReference option and test receiving a large file; done means the unnecessary post-transfer copy is avoided without breaking export behavior.

Written by the indexing model from the issue text.

Description

ready-for-pr

Issue

when receiving a ~4G file there was a an "export " stage at receiving side that took multiple minutes, after the sender finished the transaction on their side

Possible cause

@matheus23 pointed out that sendme uses ExportMode::Copy from iroh-blobs, instead of other existing option, ExportMode::TryReference.
https://docs.rs/iroh-blobs/latest/iroh_blobs/api/blobs/enum.ExportMode.html

This leads to file being copied from "internal store" to target location (instead of being moved).

To confirm, I measured that on receiving file system copying the 4G file took around 7.5 minutes, which matches the previously observed delay.

Dominant language
Rust
Stars
1.3k
Forks
83
Avg merge
38m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from n0-computer/sendme

All issues in n0-computer/sendme

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.