wu-sheng commented on a change in pull request #4308: provide thread stack analyzes URL: https://github.com/apache/skywalking/pull/4308#discussion_r374459154
########## File path: docs/en/guides/backend-profile.md ########## @@ -0,0 +1,44 @@ +# Thread dump merging mechanism +The performance profile is an enhancement feature in the APM system. We are using the thread dump to estimate the method execution time, rather than adding many local spans. In this way, the resource cost would be much less than using distributed tracing to locate slow method. This feature is suitable in the production environment. This document introduces how thread dumps are merged into the final report as a stack tree(s). + +## Thread analyst +### Read data and transform +Read data from the database and convert it to a data structure in gRPC. +``` +st=>start: Start +e=>end: End +op1=>operation: Load data using paging +op2=>operation: Transform data using parallel + +st(right)->op1(right)->op2 +op2(right)->e Review comment: For this graph, @mrproliu , I think we should describe the logic of each step doing, rather than stream API concept. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services