Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4351

[RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.4, 3.0.6, 4.0.4
    • Fix Version/s: 4.1.0, 2.4.4, 4.0.5, 3.0.7
    • Component/s: karaf
    • Labels:
      None

      Description

      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*)".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gzres Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: