Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9BCE17318 for ; Mon, 15 Jun 2015 11:23:00 +0000 (UTC) Received: (qmail 84310 invoked by uid 500); 15 Jun 2015 11:23:00 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 84244 invoked by uid 500); 15 Jun 2015 11:23:00 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 84231 invoked by uid 99); 15 Jun 2015 11:23:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 11:23:00 +0000 Date: Mon, 15 Jun 2015 11:23:00 +0000 (UTC) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4929) Add Service Registry performance test 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/FELIX-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585799#comment-14585799 ] David Bosschaert commented on FELIX-4929: ----------------------------------------- I would propose to add this to the felix/main component to the integration test phase. If people think it should go elsewhere, let me know. > Add Service Registry performance test > ------------------------------------- > > Key: FELIX-4929 > URL: https://issues.apache.org/jira/browse/FELIX-4929 > Project: Felix > Issue Type: Task > Components: Framework > Reporter: David Bosschaert > Assignee: David Bosschaert > Priority: Minor > > I wrote a Service Registry performance test (https://github.com/bosschaert/coderthoughts/tree/master/service-registry-perftest) that would be good to include in the Felix Codebase. It tests performance, but also correctness of behaviour, of the service registry when a lot of threads are competing for the same service under 4 difference contexts: > * 1 bundle with multiple threads accessing a Singleton service > * 1 bundle with multiple threads accessing a Prototype Service Factory service > * multiple bundles with multiple threads accessing a Singleton service > * multiple bundles with multiple threads accessing a Prototype Service Factory service > I think it would be good to add this performance test to the Felix Framework codebase as it can expose issues that are not exposed elsewhere. Additionally it can be used to keep an eye on the performance of the service registry. -- This message was sent by Atlassian JIRA (v6.3.4#6332)