CallClock

The time of a caller's calls to a store (the append queue's to its log, the snapshot writes' to their store), in microseconds summed over them, cumulative, from the instants each call's StoreCallMarks holds:

  • calls clocked, the call from its batch taken to the store's call returned, and complete from there to its outcomes handed to their callers and the caller's committer free for its next batch;

  • for the marked calls, those whose store marked each instant it sees: enter, the batch taken to the store's call entered; hop, to the thread of its blocking work; acquire, to its connection acquired; bind, to its first command or statement sent (what the store builds of the batch: tables found, statements prepared, parameters bound, documents encoded); statement, to its last result read; release, to its connection given back (a transaction's commit, a conflict's or a duplicate's lookups among it); and hopBack, to the call returned to the caller. So for a marked call, enter + hop + acquire + bind + statement + release + hopBack is its call;

  • for the commanded calls, those whose driver reported its commands' own time: command, their sum, from each command's message sent to its reply. Of a marked call's statement, what command leaves is the driver's work around its commands (encoding a command, checking a connection out, decoding its reply), and the store's own work between them;

  • of bind, for every call whose store tells: encode, the time spent encoding the batch's records, and lookup, the time of the lookups the store made while building it (MongoDB's log: each stream's document, and a read of an aggregate's last sequence it did not remember). What they leave of bind is the rest of the building (on MongoDB's log, sequencing: the partitions' blocks and the streams' sequences); and bindCommand, the driver's own time of the bindCommands the store sent before its first command of the batch (on MongoDB's log, its partitions' counter writes and its lookups).

Properties

Link copied to clipboard
Link copied to clipboard
val bind: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val call: Long
Link copied to clipboard
val calls: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val enter: Long
Link copied to clipboard
val hop: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard