Module object_store::gcp

source ·
Expand description

An object store implementation for Google Cloud Storage

§Multipart uploads

Multipart uploads can be initiated with the ObjectStore::put_multipart method. If neither MultipartUpload::complete nor MultipartUpload::abort is invoked, you may have parts uploaded to GCS but not used, that you will be charged for. It is recommended you configure a lifecycle rule to abort incomplete multipart uploads after a certain period of time to avoid being charged for storing partial uploads.

§Using HTTP/2

Google Cloud Storage supports both HTTP/2 and HTTP/1. HTTP/1 is used by default because it allows much higher throughput in our benchmarks (see #5194). HTTP/2 can be enabled by setting crate::ClientConfigKey::Http1Only to false.

Structs§

Enums§

Type Aliases§