The SWC-DB ThriftBroker - Configuration Properties
-
swc.ThriftBroker.cfg.dyn
TYPE_STRINGSThe Dynamic cfg-file to use. ThriftBrokers will check & reload this cfg-file by swc.cfg.dyn.period
defaultswc.ThriftBroker.cfg.dyn= -
swc.ThriftBroker.port
TYPE_UINT16The ThriftBroker port.
defaultswc.ThriftBroker.port=18000 -
swc.ThriftBroker.workers
TYPE_INT32The number of workers a comm-reactor initalizes.
defaultswc.ThriftBroker.workers=32 -
swc.ThriftBroker.connections.max
TYPE_INT32The Max client Connections allowed, any new connections above the Open-Connections will be dropped and the Max-Total is the number of Endpoints(Thrift-Broker is listening-on) byswc.ThriftBroker.connections.max. If open-file-descriptors is above allowed-limit Thrift-Broker will shutdown, unplanned shutdown can be avoided by the max limit.
defaultswc.ThriftBroker.workers=INT64_MAX -
swc.ThriftBroker.transport
TYPE_STRINGThe thrift transport that should be used (framed/).
defaultswc.ThriftBroker.transport=framed -
swc.ThriftBroker.timeout
TYPE_INT32The ThriftBroker timeout in milliseconds.
defaultswc.ThriftBroker.timeout=900000 -
swc.ThriftBroker.clients.handlers
TYPE_INT32The number of SWC-DB clients handlers.
defaultswc.ThriftBroker.clients.handlers=8 -
swc.ThriftBroker.metrics.enabled
TYPE_BOOLEnable or Disable ThriftBroker Metrics Monitoring.
defaultswc.ThriftBroker.metrics.enabled=true
The configuration properties applicable for dynamic reloading
-
swc.ThriftBroker.ram.allowed.percent
TYPE_INT32_GThe Memory RSS % allowed without freeing/releasing.
defaultswc.ThriftBroker.ram.allowed.percent=33 -
swc.ThriftBroker.ram.reserved.percent
TYPE_INT32_GThe Memory Total % reserved, threshold of low-memory enter state.
defaultswc.ThriftBroker.ram.reserved.percent=33 -
swc.ThriftBroker.ram.release.rate
TYPE_INT32_GThe Memory release-rate (malloc dependable).
defaultswc.ThriftBroker.ram.release.rate=100 -
swc.ThriftBroker.metrics.report.interval
TYPE_INT32_GThe Metrics Reporting Interval in Seconds. Zero(=0) skips metrics update.
defaultswc.ThriftBroker.metrics.report.interval=300
extended/updated/version information available with ‘–help' and ‘–help-config' arg
./swcdbThriftBroker --help;
./swcdbThriftBroker --help-config;