Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Possible to support AsynchronousFileChannel? #72

Open

Description

@jvz

This API might mesh better with multipart file uploads. Each ByteBuffer written can be mapped to an UploadPartRequest. Closing the channel can complete the upload, and the CompleteMultipartUploadResult returned from the S3 API can be used to cache file attribute information for the newly uploaded file.

Similarly, asynchronous downloads can be supported here, though I'm not sure on the corresponding APIs in S3.

Activity

  1. jvz commented on Mar 17, 2017

    @jvz
    Author

    I had another thought: supporting GatheringByteChannel could also be used to parallelize the upload into chunks as well. This could make it simpler to use with APIs like ByteBuf in Netty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions