Module config

Module config 

Source
Expand description

Configuration keys and I/O for hyperactor.

This module declares hyperactor-specific config keys.

Structs§

PemBundle
A bundle of PEM files for TLS configuration: CA certificate, server/client certificate, and private key.

Enums§

Pem
Stores a PEM-encoded value, either specified directly or read from a file.

Statics§

CHANNEL_NET_RX_BUFFER_FULL_CHECK_INTERVAL
How often to check for full MPSC channel on NetRx.
CLEANUP_TIMEOUT
Timeout used by proc for running the cleanup callback on an actor. Should be less than the timeout for STOP_ACTOR_TIMEOUT.
CODEC_MAX_FRAME_LENGTH
Maximum frame length for codec
ENABLE_DEST_ACTOR_REORDERING_BUFFER
Whether to enable dest actor reordering buffer.
HOST_SPAWN_READY_TIMEOUT
Timeout for [Host::spawn] to await proc readiness.
MESSAGE_ACK_EVERY_N_MESSAGES
Number of messages after which to send an acknowledgment
MESSAGE_ACK_TIME_INTERVAL
Message acknowledgment interval
MESSAGE_DELIVERY_TIMEOUT
Message delivery timeout
MESSAGE_LATENCY_SAMPLING_RATE
Sampling rate for logging message latency Set to 0.01 for 1% sampling, 0.1 for 10% sampling, 0.90 for 90% sampling, etc.
MESSAGE_TTL_DEFAULT
Default hop Time-To-Live for message envelopes.
PROCESS_EXIT_TIMEOUT
Timeout used by allocator for stopping a proc.
REMOTE_ALLOCATOR_HEARTBEAT_INTERVAL
Heartbeat interval for remote allocator. We do not rely on this heartbeat anymore in v1, and it should be removed after we finishing the v0 deprecation.
SERVER_HEARTBEAT_INTERVAL
Heartbeat interval for server health metrics. The server emits a heartbeat metric at this interval to indicate it is alive.
SPLIT_MAX_BUFFER_AGE
The maximum time an update can be buffered before being reduced.
SPLIT_MAX_BUFFER_SIZE
Maximum buffer size for split port messages
STOP_ACTOR_TIMEOUT
Timeout used by proc mesh for stopping an actor.
TERMINATED_SNAPSHOT_RETENTION
Maximum number of terminated actor snapshots retained per proc for post-mortem introspection. When the limit is exceeded, the oldest entries are evicted.
TLS_CA
Path to TLS CA certificate file for the ‘tls’ transport.
TLS_CERT
Path to TLS certificate file for the ‘tls’ transport.
TLS_KEY
Path to TLS private key file for the ‘tls’ transport.