Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_MAX_BATCH: Int = 64
Link copied to clipboard
const val DEFAULT_MERGE_MAX: Int = 512

The streams of eight partitions' full groups.

Link copied to clipboard
const val DEFAULT_MERGERS: Int = 2

Two committers, measured (2026-10-24): one call in flight while the next merges what the partitions hand meanwhile. With one, every group waited for the call in flight (E3's p50 1.6 times unmerged); with four, the calls carried too little to save much.

Link copied to clipboard

The streams waiting at or under which a committer takes them all, as one committer would: measured (2026-11-13), a share of a small backlog at low load cost a one-core MongoDB a tenth at 16 clients, two calls' fixed cost where one carried them; above it the share keeps the lanes out of step.