RawMongo
The raw run on MongoDB: Wow's collections cloned (each index, by listIndexes) as raw_log, raw_snapshot and raw_partition, written with documents of the domain's own commits as templates at Wow's write concern (majority), each step on a client whose pool is the step's connections:
the log as Wow appends a group: each stream at its partition's next sequence (Partitioner),
_idits position, all of them one orderedinsertMany; the sequences come from blocks of BLOCK reserved on the partition's counter by one pipelinefindOneAndUpdateand taken off its list by one$pullonce used, as Wow's sequencer does;the snapshots as an unordered
bulkWriteof version-guarded upserts in one of four Update shapes, M1 Wow's own filter and modifier$set, so each is priced per update as mongod times them.
Wow's appender reads an aggregate's previous sequence from its cache of the last ones (a hit in steady state), so no read precedes an append here. A unit counts only when the store wrote it; a write error refuses it.
Types
A case of this store, the state it writes (bigState: about 4 KB, else the domain's), and its flush.
One worker's writes, on its step's client, in session when it has one.
Functions
The cases: WOW_TODAY (today's shape, the calibration: the log's group of logBatch, and the snapshots behind the groups snapshotBatch a bulkWrite in Update.M1, Wow's own, across groups (savedBehind)), the log alone, each Update at each of batches updates a bulkWrite with the domain's state and with a 4 KB one, the log's insert and its snapshots' bulkWrite in one multi-document transaction against the same calls back to back, and a point read.
A client for a step of connections workers: its pool their number, so none waits for a connection.
Up to count streams of Wow's measured deposits (version 3 on: an account's opening is 1, its warm-up deposit 2; documents that hold events, so no placeholder), the latest first, and of its snapshots as templates; and its partition count, its counters'.
The oplog's entries written between fromMillis and toMillis (whole seconds), by namespace and operation (<namespace> <op>): their count, bytes and share of the window's bytes, so each collection's share of a side's oplog bytes a command reads apart. The window holds whatever ran in it, so a share, not a count, is the figure.
The oplog's bytes of the node's own collections (its checkpoints and leases: not an aggregate's, whose collections are <prefix>__<context>__<aggregate>) written between fromMillis and toMillis, as ownOplogBytes: what Wow's oplog holds that the clone's does not.