You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/10/26 09:32:12 UTC
[GitHub] [skywalking] zlr25 opened a new issue, #9850: [Feature] Multithreads enhancement request
zlr25 opened a new issue, #9850:
URL: https://github.com/apache/skywalking/issues/9850
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
There are a number of ways to implement multithread programming in java. I did a simple test: using new Thread() inside a controller to generate multiple threads, then query and write database in each thread. When I call the test controller, SW can only capture each pointcut like mysql driver, controller call, but cannot line them up like an entire trace.
Therefore, I believe, currently, the tracing is not working at multithread scenario. This feature is a significant one since multithread is common, and support the tracing in new threads, synchronized methods as well as reused threads created by thread pool during the biz logic are needed.
### Use case
new Thread();
ThreadPoolExecutor.submit();
CompletableFuture.doSomething();
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: notifications-unsubscribe@skywalking.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng commented on issue #9850: [Feature] Multithreads enhancement request
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #9850:
URL: https://github.com/apache/skywalking/issues/9850#issuecomment-1291779580
This is wrong asking from a tech perspective. This is an open-source community, not a commercial service.
We have provided full documents to explain how the plugin works in x-thread cases, what are x-thread APIs in agent kernel. You didn't read it, and your questions don't make any sense.
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng closed issue #9850: [Feature] Multithreads enhancement request
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #9850: [Feature] Multithreads enhancement request
URL: https://github.com/apache/skywalking/issues/9850
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org