The SWC-DB Broker - Configuration Properties

  • swc.bkr.cfg.dyn

    TYPE_STRINGS The Dynamic cfg-file to use. Brokers will check & reload this cfg-file by swc.cfg.dyn.period
    default swc.bkr.cfg.dyn=

  • swc.bkr.concurrency.relative

    TYPE_BOOL Whether HW-Concurrency base is used with the Applicable cfg properties.
    default swc.bkr.concurrency.relative=true

  • swc.bkr.reactors

    TYPE_INT32 The number of communication reactor to initialize an io-context for a given acceptor-fd. The total or the base of HW-concurrency for one reactor.
    default swc.bkr.reactors=4

  • swc.bkr.workers

    TYPE_INT32 The number of workers a comm-reactor initalizes.
    default swc.bkr.workers=16

  • swc.bkr.handlers

    TYPE_INT32 The number or HW-Concurrency base of Application handlers.
    default swc.bkr.handlers=2

  • swc.bkr.clients.handlers

    TYPE_INT32 The number or HW-Concurrency base of DB-Clients handlers.
    default swc.bkr.clients.handlers=2

  • swc.bkr.metrics.enabled

    TYPE_BOOL Enable or Disable Broker Metrics Monitoring.
    default swc.bkr.metrics.enabled=true

The configuration properties applicable for dynamic reloading

  • swc.bkr.comm.encoder

    TYPE_ENUM_G The encoding to use in communication, options PLAIN/ZSTD/SNAPPY/ZLIB.

    If address of local & remote is the same, the Encoder is set to PLAIN.

    default swc.mngr.comm.encoder=ZSTD

  • swc.bkr.ram.allowed.percent

    TYPE_INT32_G The Memory RSS % allowed without freeing/releasing.
    default swc.bkr.ram.allowed.percent=33

  • swc.bkr.ram.reserved.percent

    TYPE_INT32_G The Memory Total % reserved, threshold of low-memory enter state.
    default swc.bkr.ram.reserved.percent=33

  • swc.bkr.ram.release.rate

    TYPE_INT32_G The Memory release-rate (malloc dependable).
    default swc.bkr.ram.release.rate=100


    TYPE_INT32_G The Metrics Reporting Interval in Seconds. Zero(=0) skips metrics update.

extended/updated/version information available with ‘–help' and ‘–help-config' arg

./swcdbBroker --help;
./swcdbBroker --help-config;