Key-Value Storage Layer¶
Most TensorStore drivers access the underlying storage for array data through a key-value store layer that supports a variety of underlying storage systems, such as the local filesystem and cloud storage systems, through different drivers.
Drivers¶
file
Key-Value Store drivergcs
Key-Value Store driverhttp
Key-Value Store driverkvstack
Key-Value Store drivermemory
Key-Value Store driverneuroglancer_uint64_sharded
Key-Value Store driverocdbt
Key-Value Store drivers3
Key-Value Store drivertsgrpc_kvstore
Key-Value Store driverzarr3_sharding_indexed
Key-Value Store driverzip
Key-Value Store driver
- json KvStore : object¶
Key-value store specification.
This describes the common properties supported by all key-value stores. Refer to the driver documentation for the supported
driver
identifiers and driver-specific properties.- Subtypes:¶
kvstore/file
— Read/write access to the local filesystem.kvstore/gcs
— Read/write access to Google Cloud Storage (GCS).kvstore/http
— Read-only access to arbitrary HTTP servers.kvstore/kvstack
— Stack (overlay) driver for key value store mapping.kvstore/memory
— Read/write, non-persistent in-memory storage.kvstore/neuroglancer_uint64_sharded
— Read/write adapter for the Neuroglancer Precomputed sharded format.kvstore/ocdbt
— Read/write adapter for the OCDBT format.kvstore/s3
— Read/write access to Amazon S3-compatible object stores.kvstore/tsgrpc_kvstore
— Read/write key-value store using the tensorstore-specific gRPC protocol.kvstore/zarr3_sharding_indexed
— Read/write adapter for the zarr v3 sharded_indexed format.kvstore/zip
— Read-only adapter for the ZIP archive format.
- Required members:¶
- driver : string¶
Key-value store driver identifier
- json KvStoreUrl : string¶
URL representation of a key-value store.
In addition to the
JSON object
representation, a key-value store may be specified more concisely by a URL.Warning
The URL representation of a key-value store specification may exclude certain parameters, such as concurrency limits.
- Subtypes:¶
KvStoreUrl/file
—file://
KvStore URL schemeKvStoreUrl/gs
—gs://
KvStore URL schemeKvStoreUrl/http
—http://
andhttps://
KvStore URL schemeKvStoreUrl/memory
—memory://
KvStore URL schemeKvStoreUrl/s3
—s3://
KvStore URL scheme