Configuration Values

maelstrom-run supports the following configuration values:

ValueTypeDescriptionDefault
brokerstringaddress of brokerstandalone mode
log-levelstringminimum log level"info"
cache-sizestringtarget cache disk space usage"1 GB"
inline-limitstringmaximum amount of captured stdout and stderr"1 MB"
slotsnumberjob slots available1 per CPU

broker

The broker configuration value specifies the socket address of the broker. This configuration value is optional. If not provided, maelstrom-run will run in standalone mode.

Here are some example value socket addresses:

  • broker.example.org:1234
  • 192.0.2.3:1234
  • [2001:db8::3]:1234

log-level

See here.

maelstrom-run always prints log messages to stderr.

cache-size

This is a local-worker setting. See here for more.

inline-limit

This is a local-worker setting. See here for more.

slots

This is a local-worker setting. See here for more.