The SWC-DB Ranger - Configuration Properties
-
swc.rgr.cfg.dyn
STRINGS
The Dynamic cfg-file to use. Rangers will check & reload this cfg-file by swc.cfg.dyn.period
defaultswc.rgr.cfg.dyn=
-
swc.rgr.reactors
INT32
The number of communication reactor to initialize an io-context for a given acceptor-fd.
defaultswc.rgr.reactors=8
-
swc.rgr.workers
INT32
The number of workers a comm-reactor initalizes.
defaultswc.rgr.workers=32
-
swc.rgr.handlers
INT32
The number of Application handlers.
defaultswc.rgr.handlers=8
-
swc.rgr.maintenance.handlers
INT32
The number of Maintenance handlers.
defaultswc.rgr.maintenance.handlers=2
-
swc.rgr.clients.handlers
INT32
The number of DB-Clients handlers.
defaultswc.rgr.clients.handlers=8
The configuration properties applicable for dynamic reloading
-
swc.rgr.comm.encoder
G_ENUM
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.rgr.ram.allowed.percent
G_INT32
The Memory RSS % allowed without freeing/releasing.
defaultswc.rgr.ram.allowed.percent=33
-
swc.rgr.ram.reserved.percent
G_INT32
The Memory Total % reserved, threshold of low-memory enter state.
defaultswc.rgr.ram.reserved.percent=33
-
swc.rgr.ram.release.rate
G_INT32
The Memory release-rate (malloc dependable).
defaultswc.rgr.ram.release.rate=100
-
swc.rgr.id.validation.interval
G_INT32
The Validation of Ranger-ID against Manager(RAGERS ROLE).
defaultswc.rgr.id.validation.interval=120000
-
swc.rgr.compaction.check.interval
G_INT32
The Interval in milliseconds for Compaction.
defaultswc.rgr.compaction.check.interval=300000
-
swc.rgr.compaction.read.ahead
G_INT8
The Allowed read-ahead scans per Range compaction.
defaultswc.rgr.compaction.read.ahead=5
-
swc.rgr.compaction.range.max
G_INT8
The Max Allowed Ranges at a time for compaction.
defaultswc.rgr.compaction.range.max=2
-
swc.rgr.Range.req.update.concurrency
G_INT8
The Max Allowed Concurrency a Range for Update Requests processing .
defaultswc.rgr.Range.req.update.concurrency=1
Default Schema Values
-
swc.rgr.Range.CellStore.count.max
G_INT8
The Schema default cellstore-max in range before range-split.
defaultswc.rgr.Range.CellStore.count.max=10
-
swc.rgr.Range.CellStore.size.max
G_INT32
The Schema default cellstore-size.
defaultswc.rgr.Range.CellStore.size.max=1GB
-
swc.rgr.Range.CellStore.replication
G_INT8
The Schema default cellstore-replication (fs-dependent).
defaultswc.rgr.Range.CellStore.replication=3
-
swc.rgr.Range.block.size
G_INT32
The Schema default block-size.
defaultswc.rgr.Range.block.size=64MB
-
swc.rgr.Range.block.cells
G_INT32
The Schema default block-cells.
defaultswc.rgr.Range.block.cells=100000
-
swc.rgr.Range.block.encoding
G_ENUM
The Schema default block-encoding NONE/ZSTD/SNAPPY/ZLIB.
defaultswc.rgr.Range.block.encoding=ZSTD
-
swc.rgr.Range.CommitLog.rollout.ratio
G_INT8
The Schema default CommitLog new fragment Rollout Block Ratio.
defaultswc.rgr.Range.CommitLog.rollout.ratio=3
-
swc.rgr.Range.CommitLog.Compact.cointervaling
G_INT8
The minimal sequentially intervaling number of Fragments for CommitLog Compaction to issue a compaction on the selected Fragments.
defaultswc.rgr.Range.CommitLog.Compact.cointervaling=3
-
swc.rgr.Range.CommitLog.Fragment.preload
G_INT8
Preload this number of Fragments of CommitLog at Log Compact and scans(BlockLoader).
defaultswc.rgr.Range.CommitLog.Fragment.preload=2
-
swc.rgr.Range.compaction.percent
G_INT8
The Schema default compact-percent threshold.
defaultswc.rgr.Range.compaction.percent=33
extended/updated/version information available with ‘–help' and ‘–help-config' arg
./Ranger --help;
./Ranger --help-config;