[openstack-dev] [horizon]

Lin Hua Cheng os.lcheng at gmail.com
Fri Dec 4 09:14:28 UTC 2015


The most efficient way to do this for Swift to do this is to implement Form
Post[1] (upload) and tempUrl[2] (download). With this setup, the user will
be directly uploading/downloading from Swift endpoint rather than passing
the files through horizon.

The caveat for this to work, you need to be able to associate access keys
to users.

-Lin

[1] http://docs.openstack.org/developer/swift/api/form_post_middleware.html
[2]
http://docs.openstack.org/kilo/config-reference/content/object-storage-tempurl.html

On Thu, Dec 3, 2015 at 3:20 PM, Kyrylo Galanov <kgalanov at mirantis.com>
wrote:

> Hello,
>
> When a file is uploaded to Glance, Swift through Horizon it is stored
> locally in a temporary directory in Horizon server. This is inefficient
> approach especially for big files.
>
> I would suggest to implement 'proxy' upload to Glance, Swift using chunk
> buffer instead of storing a file locally. It would eliminate such drawbacks
> as potential free space exhaustion.
>
> It would be awesome to add upload progress bar as well.
>
> I look forward to your constructive replies.
>
> Best regards,
> Kyrylo
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151204/f5c61b78/attachment.html>


More information about the OpenStack-dev mailing list