Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement S3 data storage. #7

Open
s3rius opened this issue Jan 7, 2022 · 8 comments
Open

Implement S3 data storage. #7

s3rius opened this issue Jan 7, 2022 · 8 comments

Comments

@s3rius
Copy link
Owner

s3rius commented Jan 7, 2022

Create S3 Data storage to be able to store files on S3.

The main idea is to create many file chunks 5MB each and concatenate them after upload is finished.

@s3rius
Copy link
Owner Author

s3rius commented Feb 14, 2022

It's quite a challenge. I won't do it for now. For all people who want to work with S3 as a primary storage, you can use s3fs-fuse to mount s3 in a directory.

@Kaelten
Copy link
Contributor

Kaelten commented Jun 9, 2022

Would it be more straightforward if the implementation used the volume storage as scratch space but then pushed to s3 as part of finishing the upload?

@s3rius
Copy link
Owner Author

s3rius commented Dec 24, 2022

Hi @Kaelten, it took a long time, but this feature is finally coming in the next release! Currently we will only have a hybrid-s3 which works exactly as you said. The fully operating S3 storage would be implemented a little bit later.

Related PR: #108.

@s3rius
Copy link
Owner Author

s3rius commented Dec 24, 2022

Hybrid-s3 storage is released in 0.6.0. S3 storage without storing files locally will come later. Leaving this feature open until new storage is released.

@genofire
Copy link

For an S3 only implementation, would not be S3 Multipart upload the solution?
https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html
(So concat should not be needed, that makes S3 for you)

@s3rius
Copy link
Owner Author

s3rius commented Feb 18, 2023

Hi, @genofire. Indeed, that's exactly it. But the tricky part here is that minimum size for a chunk is 5Mb. For some systems it just don't work. That's why I implemented hybrid storage first. Hybrid storage doesn't have such a restriction.

@genofire
Copy link

genofire commented Jun 18, 2023

Does S3File in chicon helps?

@s3rius
Copy link
Owner Author

s3rius commented Jun 18, 2023

Hi, @genofire. Yes, I guess it may work. I need to try it.

I would have no time in 1-2 weeks. If you feel that you might take this over, please do. If you don't, I'll take it as soon as I have more time.

Thank you for pointing this out.

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

No branches or pull requests

3 participants