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

   > @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.
   
   Thanks for taking the time to test this on a three SCM cluster. The follower 
catch-up example is quite useful and I agree adding `host.name` would help 
operators distinguish between SCMs.
   
   Regarding the performance, the Docker cluster is good for validating the 
functionality but I dont think it gives us enough confidence on the overhead we 
might see in a production scale cluster under heavy load.
   
   Could we run a proper perfomance test on a dedicated HA cluster and compare 
the results before and after this PR with tracing enabled in both cases? It 
would be good to measure throughput, p99 latency, CPU, memory and the amount of 
trace data being genrated.
   
   cc: @sravani-revuri 


-- 
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