tsgrpc_kvstore Key-Value Store driver¶
The tsgrpc_kvstore driver connects to a gRPC server which implements
tensorstore_grpc.kvstore.KvStoreService.
- json kvstore/tsgrpc_kvstore : object¶
Read/write key-value store using the tensorstore-specific gRPC protocol.
JSON specification of the key-value store.
- Required members:¶
-
driver :
"tsgrpc_kvstore"¶
- address : string¶
gRPC Service Address.
An address of the grpc service.
-
driver :
- Optional members:¶
- path : string¶
Key prefix within the key-value store.
If the prefix is intended to correspond to a Unix-style directory path, it should end with
"/".
- timeout : string¶
Timeout for requests to the gRPC service.
-
tsgrpc_request_retries : ContextResource =
"tsgrpc_request_retries"¶ Specifies or references a previously defined
Context.tsgrpc_request_retries. It is typically more convenient to specify a defaulttsgrpc_request_retriesin thecontext.
-
data_copy_concurrency : ContextResource =
"data_copy_concurrency"¶ Specifies or references a previously defined
Context.data_copy_concurrency. It is typically more convenient to specify a defaultdata_copy_concurrencyin thecontext.
-
grpc_client_credentials : ContextResource =
"grpc_client_credentials"¶ Specifies or references a previously defined Context.grpc_client_credentials.
- json Context.data_copy_concurrency : object¶
Specifies a limit on the number of CPU cores used concurrently for data copying/encoding/decoding.
- json Context.tsgrpc_request_retries : object¶
Specifies retry parameters for handling transient network errors.
Limitations¶
Note
This is an experimental driver and should be considered a work-in-progress. There are known limitations around large values and authenticated connections.