Hi,

We did Tuscany profiling before using a similar scenario as the TravelSample. 
On the server side, we used JProfiler 
(http://www.ej-technologies.com/products/jprofiler/overview.html). JMeter 
(http://jakarta.apache.org/jmeter/) was used on the client side to generate 
concurrent traffic.

Thanks,
Raymond
________________________________________________________________ 
Raymond Feng
[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

On Apr 26, 2011, at 12:53 AM, Millies, Sebastian wrote:

> Hello there,
>  
> does anyone have experience in profiling SCA applications?
>  
> I have tried profiling my application using YourKit, a commercial
> profiler that integrates nicely with Eclipse. My first attempt has failed,
> however, in that I get profiling data only for the Tuscany classes, but
> not for my application components.
>  
> The way I run my application, I start several Java processes (in profiling
> mode) using the node API, somewhat like this:
>  
> SCANodeFactory factory = SCANodeFactory.newInstance();
> SCANode node = factory.createSCANode( compositeURI, scaContribs );
> node.start();
>                                                                               
>                                             
> Services expose Tuscany RMI bindings. I use hand-coded RMI clients
> to exercise the services, either from a web frontend or from test classes.
> This code would not be running under the profiler:
>  
> MyService service = (MyService) Naming.lookup( “myServiceRmiName” );
> service.doSomething();
>  
> Do you think this approach is basically alright?  Should I rather talk about 
> setting
> filetering/sampling options with the YourKit people, or is there something 
> about
> the Tuscany runtime that makes profiling SCA applications inherently 
> difficult?
>  
> n  Sebastian

Reply via email to