简体   繁体   中英

Uploading ZIP via Google App Engine servlet, and saving content to Cloud Storage (Java)

I'm searching for the best approach to do the following:

  1. User uploads a large (~500 Megabytes) ZIP file via an App-Engine servlet
  2. All the extracted content should be saved to a Cloud Storage bucket
  3. A DB record should be inserted to a table on CloudSQL with the URL of every stored file.

What will be the best approach to implement such a behavior?

Thanks!

You can easily upload the 500 MB .ZIP directly to GCS, but then you can't unpack it there -- and it's too large to get it into app engine for unpacking. Rather, for this latter task, I would use google compute engine, which is not subject to the same limitations as google app engine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM