Opened at 2011-10-25T13:00:24Z
Last modified at 2020-10-30T12:35:44Z
#1571 closed defect
S3 backend: support streaming reads of immutable and mutable shares — at Initial Version
Reported by: | davidsarah | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | code-storage | Version: | 1.9.0b1 |
Keywords: | streaming performance memory s3 cloud-backend storage | Cc: | |
Launchpad Bug: |
Description
The current S3 backend implementation waits until a GET request to S3 for the share has completed before creating a share object that can be read. This ticket is to make it support reading as much data as has been received before the GET is complete. Note that the SFTP frontend does a similar thing in OverwriteableFileConsumer; some of that code or the approach it uses may be reusable.
In the case of mutable shares, the client would need to use multiple {{remote_readv}}} calls with relatively short lengths. This ticket is not about that, only about whether the S3 backend would support such usage efficiently.
This ticket might need to be split for mutable and immutable shares, but I'll leave it as one for the time being.
The security issue in #1570 doesn't apply here; we are not relying on the S3 authentication, since the shares are encrypted.