March 2019
Intermediate to advanced
636 pages
27h 50m
English
Measuring throughput and latency of your application is somewhat less arcane than many of the tools described previously; it will involve instrumenting your code to collect and record timing information. In your code, you will need to either add logging (or communication, for remote reporting) instructions to record when a particular operation is being performed, or add appropriate hooks that can enable or disable data collection as per requirement.
Measuring latency is fairly straightforward; you can record the times of various operations such as client proposal submission, return of endorsement, orderer's acknowledgment of a request, ledger commitment time, and the time when the event was received. Collecting ...
Read now
Unlock full access