[jboss-jira] [JBoss JIRA] (WFLY-11255) EE Concurrency Utilities Managed Executors / Thread Pool runtime stats
Eduardo Martins (Jira)
issues at jboss.org
Wed Aug 14 05:15:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770622#comment-13770622 ]
Eduardo Martins edited comment on WFLY-11255 at 8/14/19 5:14 AM:
-----------------------------------------------------------------
Working PoC available at https://github.com/emmartins/wildfly/tree/WFLY-11255 , providing the following runtime stats:
* completed tasks count
* tasks count
* threads count
The stats above were already available to retrieve from the spec RI executors implementation, any other stat may require significant effort thus should IMHO be implemented as followup. More on this later tho, going to do analysis and confirm about effort needed to add other stats.
was (Author: emmartins):
Working PoC available at https://github.com/emmartins/wildfly/tree/WFLY-11255 , providing the following runtime stats:
* completed tasks count
* tasks count
* threads count
The stats above were already available to retrieve from the spec RI executors implementation, any other stat may require significant effort thus should IMHO be implemented as followup.
> EE Concurrency Utilities Managed Executors / Thread Pool runtime stats
> ----------------------------------------------------------------------
>
> Key: WFLY-11255
> URL: https://issues.jboss.org/browse/WFLY-11255
> Project: WildFly
> Issue Type: Feature Request
> Components: Concurrency Utilities
> Affects Versions: 14.0.0.Final
> Reporter: Brad Maxwell
> Assignee: Eduardo Martins
> Priority: Major
>
> The managed executors / thread pools in the EE subsytem currently do not show any runtime information when invoked with include-runtime=true, the current thread pool size, queue length and such would be useful to check the performance and tuning.
> {code}
> /subsystem=ee/managed-executor-service=default:read-resource(include-runtime=true,recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "context-service" => "default",
> "core-threads" => undefined,
> "hung-task-threshold" => 60000L,
> "jndi-name" => "java:jboss/ee/concurrency/executor/default",
> "keepalive-time" => 5000L,
> "long-running-tasks" => false,
> "max-threads" => undefined,
> "queue-length" => undefined,
> "reject-policy" => "ABORT",
> "thread-factory" => undefined
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list