Flags¶
Common¶
--nameA name used to identify the service
--drop_copy(false)Drop-copy mode?
Loop¶
--loop_cpu_affinity(-1)Used to pin the main dispatch thread to a specific CPU
--loop_sleep(500ns)Use to relinquish control to the kernel
--timer_freq(100ms)Timer frequency
--scheduling_policyThread scheduling policy
--scheduling_priorityThread scheduling priority
Service¶
--service_listen_addressThe path or port used to expose service metrics
--disable_service_manager(false)Disable support for the service manager?
Misc¶
--decode_buffer_size(8388608)Decode buffer size
--relax_request_validation(false)Default is to block order requests during download
Logging¶
Warning
It is preferable to use a logging service that reads directly from stdout and stderr.
Any other mechanism (pipe to file or using the --log_path flag) will likely create a direct
dependency on the filesystem.
A filesystem dependency may introduce unexpected high latency from time to time.
--log_flush_freqFrequency at which the log buffers will be flushed.
--log_pathPath used for logging.
--log_max_sizeLog files will be rotated when this size is reached.
--log_max_filesRetain at most this number of log files.
--log_rotate_on_openRotate log files on open?