-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add more Store
implementations
#9
Comments
i think using artifactory for binary storage would be useful for a lot of enterprise users. |
Hi, and thanks for this project! I'm evaluating it for internal use at my company, and I'd like to add support for S3 storage. I've started by trying to use rusoto_s3. Implementing the "get" methods is no problem, but implementing the "store" methods seems to be pretty painful:
It seems like the only way to satisfy that is to read the full data into a Looking higher up the call stack, the store methods are called from Do you have any interest in changing the store methods to take a |
@jgallagher-cs Hello, and thank you for the interest and willingness to help ! Reading your comment made me realize that the I am in favor of changing the API as you suggested, by simply taking a |
👍 Great, I'll make that change. Do you want S3 support gated behind a Cargo feature? It ends up pulling in quite a few dependencies, so I would assume "yes", but features don't really play nicely with workspaces (e.g., rust-lang/cargo#7507). The docs for building with S3 support would be something like
:( |
I would tend to be in favor of making it be behind a feature flag. |
This is primarily to simplify the S3 implementation (which would otherwise have to read the data into a local Vec, effectively making an in-memory copy since we already had the data in memory anyway). See discussion at Hirevo#9 (comment).
This is primarily to simplify the S3 implementation (which would otherwise have to read the data into a local Vec, effectively making an in-memory copy since we already had the data in memory anyway). See discussion at Hirevo#9 (comment).
This is primarily to simplify the S3 implementation (which would otherwise have to read the data into a local Vec, effectively making an in-memory copy since we already had the data in memory anyway). See discussion at Hirevo#9 (comment).
This is primarily to simplify the S3 implementation (which would otherwise have to read the data into a local Vec, effectively making an in-memory copy since we already had the data in memory anyway). See discussion at Hirevo/alexandrie#9 (comment).
This is primarily to simplify the S3 implementation (which would otherwise have to read the data into a local Vec, effectively making an in-memory copy since we already had the data in memory anyway). See discussion at Hirevo/alexandrie#9 (comment).
Hi, I'm the committer of OpenDAL: A data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way. Do you think it's a good idea to integrate opendal as a |
This is a tracking issue for additional
Store
implementations.Here is a non-exhaustive list of potential candidates for an
Store
implementation:This would store crate tarballs and rendered README pages into Amazon's S3.
Requires to implement a companion server.
The idea is to have a reserved folder on another machine which runs a companion server, you would then point Alexandrie to that server and it would take care of storing crate tarballs and README pages on that machine on behalf of the registry.
The point of this is to have an easy solution to outsource the crates' storage for people having multiple machines available to them.
The text was updated successfully, but these errors were encountered: