You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Bob Paulin (JIRA)" <ji...@apache.org> on 2014/08/29 01:47:09 UTC

[jira] [Commented] (FELIX-4624) Event Admin - Retune Async to Sync ThreadPool ratios based on actual post/send ratio.

    [ https://issues.apache.org/jira/browse/FELIX-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114609#comment-14114609 ] 

Bob Paulin commented on FELIX-4624:
-----------------------------------

This will require some research into how often thread should be rebalanced and how large of a sample is required to compute a good ratio.  Perhaps both should be configurable but we should come up with some smart defaults.

> Event Admin - Retune Async to Sync ThreadPool ratios based on actual post/send ratio.
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-4624
>                 URL: https://issues.apache.org/jira/browse/FELIX-4624
>             Project: Felix
>          Issue Type: New Feature
>          Components: Event Admin
>    Affects Versions: eventadmin-1.4.0
>            Reporter: Bob Paulin
>            Priority: Minor
>
> Event Admin Async and Sync thread pools could be rebalanced based on actual application performance.  This could be done by periodically measuring calls to send and post and recomputing the ratios.  This could be used to adjust the async thread pools up or down.  Although this adjustment should be bound by at least current number of sync threads minus 1 since if async = sync the application may deadlock.



--
This message was sent by Atlassian JIRA
(v6.2#6252)