سؤال

My application uploads the file to Amazon glacier using AWS SDK .NET APIs. My question is do i need to keep my application running (4-6 hours) until Glacier Upload is completely done or can i close the application after getting the archive ID and upload will happen asynchronously. I have Similar doubt for glacier Download.

Thanks, Haseena

هل كانت مفيدة؟

المحلول

Yes, You need to keep application running until glacier upload complete? You can also look for Uploading Large Archives in Parts option (Multipart Upload).

Upload and download are different in Glacier.

Retrieving an archive from Amazon Glacier is a two-step process:

  1. Initiate an archive retrieval job : It approximately takes 4-5 hours to complete. When you initiate a job, Amazon Glacier returns a job ID in the response and executes the job asynchronously. So in this case you don't need to application running.
  2. You can also specify an Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Glacier can post a notification after the job is completed. Amazon Glacier sends notification only after it completes the job.
  3. After the job completes, you can download the job output.

[Disclousre : Bucket Explorer]

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top