mit-dci / opencbdc-tx

A transaction processor for a hypothetical, general-purpose, central bank digital currency
Other
896 stars 198 forks source link

Unify transaction metrics #179

Closed wadagso-gertjaap closed 2 years ago

wadagso-gertjaap commented 2 years ago

In two phase commit, throughput and latency samples are collected at the load generator level. This also gives point-in-time data about transaction latency.

In atomizer, throughput samples are collected on the archiver on a block-by-block basis, and latency samples are collected at the load generator, without preserving the point in time - resulting in a plain heap of latency samples.

This PR unifies that metric output by having atomizer-cli-watchtower write the same latency sample file and format as twophase-gen.