Domanda

I know that gsutil cp can operate in parallel to speed things up, but I will be uploading a lot of small files, and am trying to minimize my per-request overhead. Does gsutil automatically batch multiple file uploads into a single batch request?

(I'm referring to this batch feature here) https://developers.google.com/storage/docs/json_api/v1/how-tos/batch

È stato utile?

Soluzione

No, gsutil doesn't currently do this. However, if you run gsutil with the -m flag, it will operate in multi-threaded mode, which will upload your files in parallel.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top