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
defaultswc.bkr.cfg.dyn=
-
swc.bkr.concurrency.relative
TYPE_BOOL
Whether HW-Concurrency base is used with the Applicable cfg properties.
defaultswc.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.
defaultswc.bkr.reactors=4
-
swc.bkr.workers
TYPE_INT32
The number of workers a comm-reactor initalizes.
defaultswc.bkr.workers=16
-
swc.bkr.handlers
TYPE_INT32
The number or HW-Concurrency base of Application handlers.
defaultswc.bkr.handlers=2
-
swc.bkr.clients.handlers
TYPE_INT32
The number or HW-Concurrency base of DB-Clients handlers.
defaultswc.bkr.clients.handlers=2
-
swc.bkr.metrics.enabled
TYPE_BOOL
Enable or Disable Broker Metrics Monitoring.
defaultswc.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.
defaultswc.bkr.ram.allowed.percent=33
-
swc.bkr.ram.reserved.percent
TYPE_INT32_G
The Memory Total % reserved, threshold of low-memory enter state.
defaultswc.bkr.ram.reserved.percent=33
-
swc.bkr.ram.release.rate
TYPE_INT32_G
The Memory release-rate (malloc dependable).
defaultswc.bkr.ram.release.rate=100
-
swc.bkr.metrics.report.interval
TYPE_INT32_G
The Metrics Reporting Interval in Seconds. Zero(=0) skips metrics update.
defaultswc.bkr.metrics.report.interval=300
extended/updated/version information available with ‘–help' and ‘–help-config' arg
./swcdbBroker --help;
./swcdbBroker --help-config;