SnapshotWriteCounts

What a snapshot subscription's writes (SnapshotWrites) did, from the first SnapshotSubscription.writeCounts on: a diagnostic, which the writes keep only once something reads it.

  • saves and snapshots are cumulative: the saves the leaders took into their writes, and the snapshots those wrote (one an aggregate a write, the highest version of those taken). Over the clock's calls, they are a write's mean batch and its mean snapshots.

  • writing is now: the leaders in a store's call, at most the store's writes in flight; allowed is now: how many may lead, the store's writes in flight, or its catch-up count while the writes are behind.

  • clock is cumulative: where each write's time went, from its batch taken to its saves ended (CallClock).

  • loads, loadCalls and tails are cumulative, the reads of an entry without a view: the snapshots loaded, the store's calls that loaded them, and the log's reads of a rebuild (its tail after a base, or its replay) or of an aggregate's first stream. With snapshots, they are the store's round trips a snapshot written cost.

Each is an atomic add, per write, never per save, and per read of an entry without a view; nothing waits on a lock.

Properties

Link copied to clipboard
Link copied to clipboard

Where the writes' time went.

Link copied to clipboard
Link copied to clipboard
val loads: Long
Link copied to clipboard
val saves: Long
Link copied to clipboard
Link copied to clipboard
val tails: Long
Link copied to clipboard