rajeshkumarchandolu commented on PR #12145:
URL: https://github.com/apache/ozone/pull/12145#issuecomment-7163939639

    @ArafatKhan2198  Thanks for the review. On SCM HA:
   
   - Cost: tracing off adds nothing, and unsampled requests create no apply 
span; sampled ones add the trace ID (~55 bytes) to the log entry and one 
applyTransaction span per SCM. On a 3-SCM compose cluster, Freon with tracing 
off vs on (sampler 1.0) gave the same throughput and latency within run-to-run 
noise (~277 keys/s, p99 ~43 ms).
   - Identifying SCMs and catch-up: spans only carry service.name today, so the 
three SCMs look identical in Jaeger. Adding host.name to the tracing resource, 
in a single place in TracingUtil, is enough to tell them apart, as in the trace 
below: one container creation applied by scm1 and scm2 within ~4 ms, and by 
scm3 ~30 s later, after I restarted it. I'd like to do that as a separate 
change, since it applies to every service rather than just SCM.
   
   ![HA follower 
catch-up](https://raw.githubusercontent.com/rajeshkumarchandolu/ozone/tracing-proofs/scm-v2/7-ha-follower-catch-up.png)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to