[Openstack] does swift support resume upload?

符永涛 yongtaofu at gmail.com
Mon Oct 15 14:31:42 UTC 2012


Currently I prefer to implement range post and the html5 or flex client
should call an additional HEAD request with header info like "x-object-md5"
or so to notify the server to calculate the whole file's new md5. For the
post request just add "range" and "x-object-size" in the header.

2012/10/15 符永涛 <yongtaofu at gmail.com>

> Hi Tong Li,
>
> Thank you for your info. I'll consider the large object support. But I
> prefer range post or append node for my requirement is not large object but
> to improve user experience in the slow network environment. And I want to
> use html5 or flex to upload to swift object store.
> Currently I have two options, one is to use the large object support build
> in swift (I don't prefer this since for me the segments is very small
> there'll be too many segments which impacts the performance), another is to
> implement range post or append mode myself, it is not hard to implement but
> I encounter a problem of how to calculate the whole file's md5 without
> impact the performance(if only partial file content changes).
>
>
> 2012/10/15 Tong Li <litong01 at us.ibm.com>
>
>>  I assume that you want to upload some pieces and later upload more,
>> then complete the object. If that is the case, you can use the large data
>> object upload which allows upload small pieces, after some time, upload
>> more, eventually upload a manifest file to complete the object. You can
>> find more information here.
>>
>> http://docs.openstack.org/developer/swift/overview_large_objects.html
>>
>> Tong Li
>> Emerging Technologies & Standards
>> Building 501/B205
>> litong01 at us.ibm.com
>>
>> [image: Inactive hide details for 符永涛 ---10/13/2012 05:30:54 AM---Dear
>> swift experts, We're planning to use swift to implement an]符永涛
>> ---10/13/2012 05:30:54 AM---Dear swift experts, We're planning to use swift
>> to implement an upload service. And we want to
>>
>> From: 符永涛 <yongtaofu at gmail.com>
>> To: openstack at lists.launchpad.net,
>> Date: 10/13/2012 05:30 AM
>> Subject: [Openstack] does swift support resume upload?
>> Sent by: openstack-bounces+litong01=us.ibm.com at lists.launchpad.net
>> ------------------------------
>>
>>
>>
>> Dear swift experts,
>>
>> We're planning to use swift to implement an upload service. And we want
>> to know if swift support resume upload feature? Thank you.
>>
>> --
>> 符永涛_______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>>
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 符永涛
>



-- 
符永涛
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121015/574533af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121015/574533af/attachment.gif>


More information about the Openstack mailing list