s3proxy icon indicating copy to clipboard operation
s3proxy copied to clipboard

Asynchronously stream data

Open gaul opened this issue 8 years ago • 0 comments

S3Proxy could reduce its thread usage by asynchronously streaming data instead of synchronously copying it. BlobStore.getBlob provides an InputStream which allows this but BlobStore.putBlob does not expose an OutputStream to write to, tracked by JCLOUDS-769. With both of these, we could use the standard async Servlet interface following the Jetty example here:

https://webtide.com/servlet-3-1-async-io-and-jetty/

@kishore25kumar @SpandanThakur related to your discussion on jclouds-dev.

gaul avatar May 05 '17 21:05 gaul