Allow multipart downloading when pulling from remote#346
Allow multipart downloading when pulling from remote#346eric-higgins-ai wants to merge 1 commit into
Conversation
|
Eric, Thanks for putting in the effort. As an illustration, this did its job: it helped clarify the direction I’ll take. I don’t yet know the timeline. The next step will be per-request selection via Most of the mechanism already exists: The advantage is that this can be one self-contained commit, with no additional persistent configuration to validate, propagate, and maintain. The tradeoff is that the caller must know it is about to read a large object. A subsequent step may add a server-side default: cluster config would provide the default, while bucket properties would inherit and optionally override it. One additional motivation for that second step is support for third-party clients such as Boto3/Botocore. The threshold decision belongs at the bucket level. A bucket containing 20GB shards and one containing 100KB JSON objects want opposite defaults, and a single cluster-wide setting cannot express that. Again, I appreciate the push on this one! |
|
PS. Speaking of config, we actually already have it. But let us do part-one first, and then due diligence on the second one. |
|
Some questions:
What's still needed here? I think the existing headers already expose the things that we want?
Do you have a pointer to it? I didn't see anything like this when I looked at it |
https://github.com/NVIDIA/aistore/blob/main/cmn/api.go#L68 and further: |
|
is it really desirable to couple multipart download config to chunking config for uploads? Intuitively I would think people may want different configurations for these.
bump on this question I'm also happy to implement this if that's helpful - I'd like to get this resolved in a somewhat timely fashion |
|
Hi @eric-higgins-ai, feel free to proceed with part one. Please keep it focused on the Go client API - the server path already exists. Add an optional typed blob-download setting to |
|
@Nahemah1022 it's still not clear to me why we're doing this - why do y'all want |
This is just an illustration of my idea for addressing #340