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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.4, 3.0.6, 4.0.4
    • 4.1.0, 2.4.4, 4.0.5, 3.0.7
    • karaf
    • 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

            Unassigned Unassigned
            ggrzybek Grzegorz Grzybek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: