Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FEA718A20 for ; Mon, 29 Feb 2016 10:47:40 +0000 (UTC) Received: (qmail 94047 invoked by uid 500); 29 Feb 2016 10:47:18 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 94023 invoked by uid 500); 29 Feb 2016 10:47:18 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 93990 invoked by uid 99); 29 Feb 2016 10:47:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Feb 2016 10:47:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 410372C1F64 for ; Mon, 29 Feb 2016 10:47:18 +0000 (UTC) Date: Mon, 29 Feb 2016 10:47:18 +0000 (UTC) From: "Grzegorz Grzybek (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-4351) [RBAC] Optimize access to JMXSecurityMBean.canInvoke(Map) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek updated KARAF-4351: ------------------------------------ Fix Version/s: 2.4.4 3.0.7 4.0.5 4.1.0 > [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 > Fix For: 4.1.0, 2.4.4, 4.0.5, 3.0.7 > > > 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>)}} 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)