Ask Your Question

How does Swift store a big file to its storage

asked 2011-09-19 01:12:25 -0500

chaupv79 gravatar image

Hi everybody,

I have a big media file, for example 5GB. and there are some storage in Swift and the biggest storage is not exceed 5GB. total of those storage may greater than 5GB.

How does Swift separate the media file and store it in separate storage?

Please help me.

Thank you.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2011-09-19 01:32:11 -0500

notmyname gravatar image

Swift has a feature for handling >5GB files.

1) Split your file into chunks that are less that 5GB each (this is currently the responsibility of the client)

2) Upload each chunk, concurrently if desired

3) Create a manifest file that ties together all of the chunks. When accessing the manifest object, all of the component parts are streamed serially to the client

edit flag offensive delete link more

answered 2011-09-19 01:43:52 -0500

chaupv79 gravatar image

Thank John for your quick answer,

I will make an example that follow your suggestion

edit flag offensive delete link more

answered 2011-09-29 05:15:27 -0500

chaupv79 gravatar image

Thanks John Dickinson, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-09-19 01:12:25 -0500

Seen: 98 times

Last updated: Sep 29 '11