Skip to content

Conversation

AndresRCB
Copy link
Contributor

New solution added to storage folder: emptyDir directories (backed by local SSD) that are backed asynchronously to a CAIOS bucket. See README.md for details.

- This sample is only backing up a `/workdir` directory now, but
similar techniques can be applied to back up other directories as needed.
- The initial copy is configured assuming a large numbers of small files
(--transfers 256).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious if it would be faster to tar/archive everything before starting the upload. Have you tried benchmarking it as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great point. I wasn't compressing things because the sync upstream job (backup container) runs every 60 seconds and it's better to do incremental in that case. That said, a listed incremental TAR should work on changes only, so it's a good idea. I should test that next (especially for speeding up the restoring process). I'll try to include that before merging here or if that doesn't make it in time, I'll add it in an update later (thank you!).

I haven't benchmarked this thoroughly yet, but when initial testing showed that restoring from CAIOS was faster than git cloning, I decided to create the draft.

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.

2 participants