-
Notifications
You must be signed in to change notification settings - Fork 9
Replace uploader & downloader implementations with rclone and compress before upload #4
Conversation
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
@onlymellb @xiaojingchen @tennix @weekface All comments addressed, PTAL |
Did you benchmark the two implementations? |
@gregwebs Not yet, I've found a data set with compressed size ~15 GiB, hopefully I can do a simple benchmark tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
Signed-off-by: Aylei <rayingecho@gmail.com>
@tennix Addressed, PTAL again |
@gregwebs I've posted a simple benchmark but I'm really sorry that I don't have enough time these days to do a detailed benchmark |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
benchmark is good enough for me
@xiaojingchen @onlymellb @tennix @weekface PTAL
Signed-off-by: Aylei rayingecho@gmail.com
Benchmark:
Environment: container runs in an AWS m4.xlarge instance (4C 16G) in tokyo with no resources limit. The data is uploaded to and download from S3 in US East Ohio.
Data size: 30.2 GB
rclone implementation:
Upload Time:
(Compressed size 14.5 GB)
Download Time:
Resources Usage:
Go implementation:
Upload Time: 38m 10s
Download Time: 54m 47s
Tested upon s3 & ceph manually.
s3 log:
Note that the new image can read the backup taken before, but the backup data taken by the new image cannot be properly de-compressed by the old image.
GCP test has not been done yet.