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 <kgala...@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-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to