Open
Description
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.