openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17454
Re: does swift support resume upload?
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@xxxxxxxxx>
> 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@xxxxxxxxxx>
>
>> 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@xxxxxxxxxx
>>
>> [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@xxxxxxxxx>
>> To: openstack@xxxxxxxxxxxxxxxxxxx,
>> Date: 10/13/2012 05:30 AM
>> Subject: [Openstack] does swift support resume upload?
>> Sent by: openstack-bounces+litong01=us.ibm.com@xxxxxxxxxxxxxxxxxxx
>> ------------------------------
>>
>>
>>
>> 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@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 符永涛
>
--
符永涛
References