David Bosschaert created FELIX-4929:
---------------------------------------

             Summary: 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)

Reply via email to