You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/19 20:50:20 UTC

[jira] [Commented] (KARAF-4351) [RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map)

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

ASF GitHub Bot commented on KARAF-4351:
---------------------------------------

GitHub user grgrzybek opened a pull request:

    https://github.com/apache/karaf/pull/152

    [KARAF-4351] Optimize ConfigAdmin access in bulk RBAC calls

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/grgrzybek/karaf karaf-4.0.x-bulk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/152.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #152
    
----
commit 67618c6e1aa3d78c5627d848a62a26c668fee355
Author: Grzegorz Grzybek <gr...@gmail.com>
Date:   2016-02-19T17:47:15Z

    [KARAF-4351] Optimize ConfigAdmin access in bulk RBAC calls

----


> [RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map)
> ---------------------------------------------------------
>
>                 Key: KARAF-4351
>                 URL: https://issues.apache.org/jira/browse/KARAF-4351
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-security
>    Affects Versions: 2.4.4, 3.0.6, 4.0.4
>            Reporter: Grzegorz Grzybek
>
> We've scenario where there are 2000 ActiveMQ queues running in Karaf with hawtio that leverages RBAC.
> hawtio, through Jolokia library calls {{org.apache.karaf.management.JMXSecurityMBean#canInvoke(java.util.Map<java.lang.String,java.util.List<java.lang.String>>)}} method passing map of >2000 MBeanNames to lists of average size = 20.
> Thus we have >40000 calls to one of {{org.apache.karaf.management.internal.JMXSecurityMBeanImpl#canInvoke()}} methods for pairs of MBean+signature and we have equal number of calls to {{org.osgi.service.cm.ConfigurationAdmin#listConfigurations("(service.pid=jmx.acl*)"}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)