Get desktop application:
View/edit binary Protocol Buffers messages
Description for channels between joined parties
Used in: ,
https://github.com/apache/brpc/blob/master/docs/en/client.md#protocols
Max duration of RPC. -1 means wait indefinitely. Default: 2000 (ms)
Max duration for a connect. -1 means wait indefinitely. Default: 500 (ms)
TLS related config.
When the server starts, model information from all parties will be collected. At this time, the remote servers may not have started yet, and we need to retry. And if we connect gateway,the max waiting time for each operation will be rpc_timeout_ms + handshake_retry_interval_ms. Maximum number of retries, default: 60
time between retries, default: 5000ms
Runtime config for a serving cluster
Used in:
Options of a csv feature source.
Used in:
Input file path, specifies where to load data Note that this will load all of the data into memory at once
Id column name, associated with FeatureParam::query_datas Query datas is a subset of id column
Used in:
datamesh host.
TLS related config.
Config for a feature source
Used in: ,
empty by design
Used in:
(message has no fields)
Options for a http feature source which should implement the feature service spi. The defined of spi can be found in secretflow_serving/spis/batch_feature_service.proto
Used in:
Whether to enable round robin load balancer.
Max duration for a connect. -1 means wait indefinitely. Default: 500 (ms)
Max duration of http request. -1 means wait indefinitely. Default: 1000 (ms)
TLS related config.
Used in:
Max duration for a connect. -1 means wait indefinitely. Default: 60 * 1000 (ms)
Max duration of http request. -1 means wait indefinitely. Default: 120 * 1000 (ms)
TLS related config.
Serving log level
Used in:
Placeholder for proto3 default value, do not use it.
debug
info
warn
error
Serving log config options
system log default value: "serving.log"
default value: LogLevel.INFO_LOG_LEVEL
Byte. default value: 500 * 1024 * 1024 (500MB)
default value: 10
Used in:
Placeholder for proto3 default value, do not use it.
random value for each feature
fixed value for each feature
Options for a mock feature source. Mock feature source will generates values(random or fixed, according to type) for the desired features.
Used in:
default MDT_FIXED
Config for serving model
Used in: ,
Unique id of the model package
Path used to cache and load model package
The path to the model package in the data source, where the content format may vary depending on the `source_type`
Optional. The expect sha256 of the model package
Options for a Oss model source. Serving accesses data services using the AWS S3 protocol.
Used in:
Bucket access key
Bucket secret key
Whether to use virtual host mode, ref: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html Defalut: False
Description for a joined party
Used in:
Unique id of the party
e.g. 127.0.0.1:9001
Optional. Address will be used if listen_address is empty.
Used in: ,
Optional. Feature name mapping rules. Key: source or predefined feature name Value: model feature name
Whether to enable tls for server
Brpc builtin service listen port Default: disable service
Whether `/metrics` service is enable/disable.
Number of pthreads that server runs on. If this option <= 0, use default value. Default: #cpu-cores
Server-level max number of requests processed in parallel Default: 0 (unlimited)
Number of pthreads that server runs to execute ops. If this option <= 0, use default value. Default: #cpu-cores
Related config of serving
Unique id of the serving service
Supported model source type
Used in:
Placeholder for proto3 default value, do not use it.
Local filesystem
OSS/AWS S3
Http source
DataProxy source
Used in: , , , ,
Certificate file path
Private key file path
The trusted CA file to verify the peer's certificate If empty, use the system default CA files