[Openstack] [OpenStack] [Swift] Is it possible to create chunked upload?

John Dickinson me at not.mn
Tue Aug 23 17:14:29 UTC 2016


There's 2 ways you can do this:

1) Use chunked transfer encoding
2) Use Swift's large object manifest objects


For the first, it's the standard HTTP semantics. You can send chunks of data to Swift to be stored as one object without knowing the full object size up front. Note that the per-object size limits still apply here (default is 5GB).

For the second, see http://docs.openstack.org/developer/swift/overview_large_objects.html, specifically "Static Large Objects" on that page. This will allow you to upload discrete objects and then stitch them together into a single logical object of arbitrary size.

--John





On 23 Aug 2016, at 10:13, Alexandr Porunov wrote:

> Hello,
>
> My server accepts files in chunks (4 Kbytes each chunk. File's size can be
> till 8 GB). Is it possible somehow store those chunks in Swift like a
> single file? Does somebody know any solution to solve this problem?
>
> Sincerely,
> Alexandr
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160823/f024643a/attachment.sig>


More information about the Openstack mailing list