title: AWS s3 upload + api taking too long
body: <p>Currently, I'm using amazon s3 to store all the objects like images and videos. I'm using IOS AWS SDK to upload the objects.</p>
  
  <p>The flow of my application are</p>
  
  <ol>
  <li>User snaps a photo or record a video</li>
  <li>User add additional information on a form, some sort like
  Instagram's caption (using Alamofire)</li>
  <li>user clicks continue, and then AWS will begin to upload the images
  and videos to S3 using IOS AWS SDK</li>
  <li>After object has been successfully uploaded to S3, S3 will response
  with a link</li>
  <li>Finally using Alamofire to send the information including the link from
  S3 as parameters to POST API</li>
  </ol>
  
  <p>The problem that I'm facing is that it takes quite some, to do AWS upload + calling an API. This indeed is a bad user experience. Most of the images are roughly less than 5 MB</p>
  
  <p>My solution</p>
  
  <ol>
  <li><p>Resizing the image, but what about Video?</p></li>
  <li><p>After user click continue, instead of doing the AWS upload + calling
  API, why not do it as a background on a different screen, so that
  users don't need to wait for the loading indicator</p></li>
  </ol>
  
  <p>What approach is great to solve this problem?. Thanks</p>