Skip to content

apparent blocking when uploading via opendal #158

Open
@talss89

Description

@talss89

Hello 👋

rustic_core 0.2.0

I'm noticing a (perhaps) unusual behaviour when taking a snapshot and pushing it over opendal:s3.

The backup progressbar seems to increment, then pause, then increment ... until complete.

When backing up locally, the progress bar moves constantly, which leaves me to suspect either:

  • a) Rustic builds packs, counts progress, then uploads in a blocking fashion
  • b) A transmit buffer is being saturated, throttling the entire process.

I haven't had the opportunity to dive in to the implementation, but I was wondering if it would be possible to discuss in the case of:

  • a) Running build and transmit in separate threads, and incrementing progress bytes when tx has completed, or;
  • b) Customising the size of the transmit buffer

Could anybody shed some light as to what is going on, and how we might come up with a more performant solution?

My apologies if this is the wrong place to discuss this, and if my understanding is way off.

Many thanks to everyone who is working on this wonderful library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-architectureArea: Related to the projects architectureC-refactorCategory: Refactoring of already existing code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions