Flags

Common

--name

A 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_policy

Thread scheduling policy

--scheduling_priority

Thread scheduling priority

Service

--service_listen_address

The path or port used to expose service metrics

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_freq

Frequency at which the log buffers will be flushed.

--log_path

Path used for logging.

--log_max_size

Log files will be rotated when this size is reached.

--log_max_files

Retain at most this number of log files.

--log_rotate_on_open

Rotate log files on open?