Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-895

Google Cloud Storage supports chunked uploads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Storage
    • None

    Description

      Google Cloud Storage supports chunked encoding for uploads. (Link: https://cloud.google.com/storage/docs/streaming)

      We enabled this and saw a 2-4x performance improvement on upload times (mainly because we didn't have to buffer the whole file)

      GoogleStorageDriver.supports_chunked_encoding is set to False currently - setting it to True results in a large performance increase

      Changes required:

      • Change `supports_chunked_encoding` to True
      • Minor refactor to verify the hash when uploading via stream since we can calculate the hash. Google recommends verifying the hash for a streaming/chunked upload. The current implementation sets verify_hash=False and does not accept it as an argument. There are a variety of ways to fix this - but I'm not sure what would be best.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sumukh Sumukh Sridhara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified