karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4351) [RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map)
Date Fri, 19 Feb 2016 19:47:18 GMT
Grzegorz Grzybek created KARAF-4351:

             Summary: [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
            Reporter: Grzegorz Grzybek

We've scenario where there are 2000 ActiveMQ queues running in Karaf with hawtio that leverages
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

View raw message