Re: [Carbon-dev] WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE deprecated?
Hi Anjana, There are several ways to get the registry, in Dashboard we use two methods in different contexts, [1] Via a declarative service we can obtain the registry service (If you need the registry at bundle startup) * @scr.reference name=registry.service * interface=org.wso2.carbon.registry.core.service.RegistryService * cardinality=1..1 * policy=dynamic * bind=setRegistryService * unbind=unsetRegistryService [2] If its an admin service you can extend that from AbstractAdmin, and there is a method to obtain the config registry (getConfigSystemRegistry()). However if both of that doesn't work for you and if you need to get it via Axis config, I think you can do it the way you have mentioned. even in AbstractAdmin, its taken as AbstratcAdmin.java:119 - (Registry) getAxisConfig().getParameterValue(WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE); The constant is deprecated IMO, Azeez, suggested to move all the constants to one Appropriate place, hence there were duplicates found in RegistryConstants, CarbonConstants and MultitenantConstants. Regards /Nuwan On Tue, Jun 1, 2010 at 10:57 AM, Anjana Fernando anj...@wso2.com wrote: Hi, It seems that the class WSO2Constants has been deprecated. But I cannot find the new place where the variable CONFIG_SYSTEM_REGISTRY_INSTANCE is defined. I'm currently getting the specific registry instance using the following, axisConfiguration().getParameterValue(WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE). Is there an alternate way to do this? .. Cheers, Anjana. -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Bandara Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE deprecated?
Hi, Thanks Nuwan. Yeah, actually my need was to use it inside an admin service, getConfigSystemRegistry will do fine. As for the WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE, that was my initial problem, that is where to find an non-deprecated version of that constant. Because I see that it is still used in some places. Cheers, Anjana. On Tue, Jun 1, 2010 at 12:43 PM, Nuwan Bandara nu...@wso2.com wrote: Hi Anjana, There are several ways to get the registry, in Dashboard we use two methods in different contexts, [1] Via a declarative service we can obtain the registry service (If you need the registry at bundle startup) * @scr.reference name=registry.service * interface=org.wso2.carbon.registry.core.service.RegistryService * cardinality=1..1 * policy=dynamic * bind=setRegistryService * unbind=unsetRegistryService [2] If its an admin service you can extend that from AbstractAdmin, and there is a method to obtain the config registry (getConfigSystemRegistry()). However if both of that doesn't work for you and if you need to get it via Axis config, I think you can do it the way you have mentioned. even in AbstractAdmin, its taken as AbstratcAdmin.java:119 - (Registry) getAxisConfig().getParameterValue(WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE); The constant is deprecated IMO, Azeez, suggested to move all the constants to one Appropriate place, hence there were duplicates found in RegistryConstants, CarbonConstants and MultitenantConstants. Regards /Nuwan On Tue, Jun 1, 2010 at 10:57 AM, Anjana Fernando anj...@wso2.com wrote: Hi, It seems that the class WSO2Constants has been deprecated. But I cannot find the new place where the variable CONFIG_SYSTEM_REGISTRY_INSTANCE is defined. I'm currently getting the specific registry instance using the following, axisConfiguration().getParameterValue(WSO2Constants.CONFIG_SYSTEM_REGISTRY_INSTANCE). Is there an alternate way to do this? .. Cheers, Anjana. -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Nuwan Bandara Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon core build failure on trunk
Fixed Thanks, Hiranya On Tue, Jun 1, 2010 at 11:35 AM, Indika Kumara ind...@wso2.com wrote: Hiranya , I have attached required changes as a patch ... There are some changes related to the securing password ... can you please review and apply the patch? .. Thanks Indika On Tue, Jun 1, 2010 at 11:41 AM, Hiranya Jayathilaka hira...@wso2.comwrote: On Tue, Jun 1, 2010 at 10:38 AM, Samisa Abeysinghe sam...@wso2.comwrote: Can a Synapse guy please look into this? I'll have a look Thanks, Hiranya Samisa... On Mon, May 31, 2010 at 11:59 PM, Samisa Abeysinghe sam...@wso2.comwrote: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerServiceImpl.java:[21,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerService.java:[21,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerServiceImpl.java:[28,12] cannot find symbol symbol : class SecretCallbackHandler location: class org.wso2.carbon.securevault.SecretCallbackHandlerServiceImpl /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerServiceImpl.java:[30,11] cannot find symbol symbol : class SecretCallbackHandler location: class org.wso2.carbon.securevault.SecretCallbackHandlerServiceImpl /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerServiceImpl.java:[34,41] cannot find symbol symbol : class SecretCallbackHandler location: class org.wso2.carbon.securevault.SecretCallbackHandlerServiceImpl /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerService.java:[28,4] cannot find symbol symbol : class SecretCallbackHandler location: interface org.wso2.carbon.securevault.SecretCallbackHandlerService /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretCallbackHandlerService.java:[30,34] cannot find symbol symbol : class SecretCallbackHandler location: interface org.wso2.carbon.securevault.SecretCallbackHandlerService /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/internal/SecretManagerInitializerComponent.java:[23,43] package org.apache.synapse.commons.security does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/internal/SecretManagerInitializerComponent.java:[24,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/internal/SecretManagerInitializerComponent.java:[25,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/internal/SecretManagerInitializerComponent.java:[26,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/internal/SecretManagerInitializerComponent.java:[46,12] cannot find symbol symbol : class SecretManager location: class org.wso2.carbon.securevault.internal.SecretManagerInitializerComponent /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretManagerSecretCallbackHandler.java:[21,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretManagerSecretCallbackHandler.java:[22,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretManagerSecretCallbackHandler.java:[23,50] package org.apache.synapse.commons.security.secret does not exist /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretManagerSecretCallbackHandler.java:[29,56] cannot find symbol symbol: class AbstractSecretCallbackHandler public class SecretManagerSecretCallbackHandler extends AbstractSecretCallbackHandler { /home/carbon/stratos/carbon/core/org.wso2.carbon.securevault/src/main/java/org/wso2/carbon/securevault/SecretManagerSecretCallbackHandler.java:[31,18] cannot find symbol symbol : class SecretManager location:
[Carbon-dev] Carbon-3.0.0 Iridium - RC19
http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC19/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC19/Thanks -- Milinda Pathirage Technical Lead and Product Manager, Business Process Server - WSO2 Inc; http://wso2.com Blog: http://blog.mpathirage.com Lean Enterprise Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC19
Please add BAM packs, p2 repo and svn info. Samisa... On Tue, Jun 1, 2010 at 3:07 PM, Milinda Pathirage mili...@wso2.com wrote: http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC19/ http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC19/Thanks -- Milinda Pathirage Technical Lead and Product Manager, Business Process Server - WSO2 Inc; http://wso2.com Blog: http://blog.mpathirage.com Lean Enterprise Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] mediation-initializer broken on trunk
[ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/ServiceBusInitializer.java:[28,43] package org.apache.synapse.commons.security does not exist /home/carbon/stratos/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/ServiceBusInitializer.java:[337,40] cannot find symbol symbol : variable SecurityConstants location: class org.wso2.carbon.mediation.initializer.ServiceBusInitializer Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] mediation-initializer broken on trunk
I'll have a look. On Tue, Jun 1, 2010 at 3:38 PM, Samisa Abeysinghe sam...@wso2.com wrote: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/ServiceBusInitializer.java:[28,43] package org.apache.synapse.commons.security does not exist /home/carbon/stratos/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/ServiceBusInitializer.java:[337,40] cannot find symbol symbol : variable SecurityConstants location: class org.wso2.carbon.mediation.initializer.ServiceBusInitializer Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Kasun Indrasiri Senior Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] mediation-initializer broken on trunk
Fixed. On Tue, Jun 1, 2010 at 4:20 PM, Kasun Indrasiri ka...@wso2.com wrote: I'll have a look. On Tue, Jun 1, 2010 at 3:38 PM, Samisa Abeysinghe sam...@wso2.com wrote: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/ServiceBusInitializer.java:[28,43] package org.apache.synapse.commons.security does not exist /home/carbon/stratos/carbon/components/mediation-initializer/org.wso2.carbon.mediation.initializer/src/main/java/org/wso2/carbon/mediation/initializer/ServiceBusInitializer.java:[337,40] cannot find symbol symbol : variable SecurityConstants location: class org.wso2.carbon.mediation.initializer.ServiceBusInitializer Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Kasun Indrasiri Senior Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ -- Kasun Indrasiri Senior Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Data services broken on trunk
[ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/tools/DSTools.java:[29,41] cannot find symbol symbol : class DataServiceFactory location: package org.wso2.carbon.dataservices.core /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/tools/DSTools.java:[53,23] cannot find symbol symbol : variable DataServiceFactory location: class org.wso2.carbon.dataservices.core.tools.DSTools /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[536,50] cannot find symbol symbol : variable DataServiceFactory location: class org.wso2.carbon.dataservices.core.DBDeployer Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process
Hi all I changed the xml message format of the message related to events. Just like Dumindu and Ratha suggested here I organized the message as Key/Value pairs of server level data. And here I also used a unique Id to identify a one particular life cycle of events of a process. The message looks as follows (but this message is still missing the server information at the begining). svrusrdata:Event xmlns:svrusrdata= http://wso2.org/ns/2009/09/bps/server/user-defined/data; svrusrdata:BpelStatisticsData svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_ProcessName/svrusrdata:Key svrusrdata:Value{http://ode/bpel/unit-test}HelloWorld3-11 /svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_TimeStamp/svrusrdata:Key svrusrdata:ValueTue Jun 01 18:31:14 IST 2010/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_InstanceId/svrusrdata:Key svrusrdata:Value0/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_Operation/svrusrdata:Key svrusrdata:Value/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_MessageExchangeId/svrusrdata:Key svrusrdata:Value/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_PartnerLinkModelId/svrusrdata:Key svrusrdata:Value29/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_PartnerLinkName/svrusrdata:Key svrusrdata:ValueMultiplierPartnerLink/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_InstanceCompleationStatus/svrusrdata:Key svrusrdata:Value/svrusrdata:Value /svrusrdata:Data svrusrdata:Data svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_FailureReason/svrusrdata:Key svrusrdata:Value/svrusrdata:Value /svrusrdata:Data /svrusrdata:BpelStatisticsData /svrusrdata:Event The project is now continuing towards Data receivers, persisting Event data on database, writing appropriate gadgets for data representation. Kindly request feedbacks and suggestions Thank you IsuruW On Tue, May 25, 2010 at 5:49 PM, Vijayaratha Vijayasingam rat...@wso2.comwrote: On 24 May 2010 17:56, Isuru Wimalasundera isu...@wso2.com wrote: Hi all Yes the Event contains a XML message , as I have implemented a statistics data publisher for this task the generating XML message looks like below. statdata:Event xmlns:statdata= http://wso2.org/ns/2009/09/bps/bpel/statistics/data; statdata:BpelStatisticsData statdata:ProcessName{http://ode/bpel/unit-test}HelloWorld3-10http://ode/bpel/unit-test%7DHelloWorld3-10 /statdata:ProcessName statdata:TimeStampMon May 24 17:17:00 IST 2010/statdata:TimeStamp statdata:InstanceId1/statdata:InstanceId statdata:Operation/statdata:Operation statdata:MessageExchangeId/statdata:MessageExchangeId statdata:PartnerLinkModelId29/statdata:PartnerLinkModelId statdata:PartnerLinkNameMultiplierPartnerLink/statdata:PartnerLinkName statdata:InstanceCompleationStatus/statdata:InstanceCompleationStatus statdata:FailureReason/statdata:FailureReason /statdata:BpelStatisticsData /statdata:Event A XML message in this format get created for all the events given in the event plan. This is a xml related to a partner service invocation of a bpel process. But I just need to clarify whether my use of a statistics data publisher for this task is ok, since Dumindu has told me that its better to get these events as server level user defined data with Key/Value pairs. yes it would be easy rather introducing new tables. Like Samisa told, you can use uniqueid/activityid to identify new instance and the related partner services of a process. Then the each key element would start with the uniqueid. eg;- uniqueid_bpelprocessname uniqueid_bpelprocessstarttime You can follow mediation publisher as an example for a such formatting of the event. Thanks. -Ratha. Request kind attention on this matter and please let some feedback on this. currently working on learning how the BAM Data Receivers work, and how to implement a one for this project with the help of Ratha. Thank You IsuruW ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data services broken on trunk
Fixed. Sorry, earlier I forgot to do an svn add on a file. Cheers, Anjana. On Tue, Jun 1, 2010 at 5:37 PM, Samisa Abeysinghe sam...@wso2.com wrote: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/tools/DSTools.java:[29,41] cannot find symbol symbol : class DataServiceFactory location: package org.wso2.carbon.dataservices.core /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/tools/DSTools.java:[53,23] cannot find symbol symbol : variable DataServiceFactory location: class org.wso2.carbon.dataservices.core.tools.DSTools /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/DBDeployer.java:[536,50] cannot find symbol symbol : variable DataServiceFactory location: class org.wso2.carbon.dataservices.core.DBDeployer Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services performance test results using performance testing framework
Hi, Yeah, you will not see any performance difference between 2.2.0 and 2.5.0 versions because, the core is basically the same, only additional features are added to 2.5.0. The major difference came with 2.2.0. So the two version you should be testing for performance should be 2.0.0 and the 2.2.0/2.5.0 releases. And also, because of the streaming functionality, the main advantage is memory consumption. I'm not sure if that is possible to measure with the performance testing framework, and to effectively test this, service calls must be made, which returns significantly large responses. Cheers, Anjana. On Tue, Jun 1, 2010 at 5:16 PM, Eranda Sooriyabandara era...@wso2.com wrote: This test was done for the Data Services team to compare the performance of the Data Services servers 2.2.0 and 2.5.0 using the Performance testing framework. What I did here is add a RDBMS data source, create a data query service, and querying different number of rows form the Data Service server. In performance test framework we can increase the number of concurrent requests per second(demand rate) step by step so that we can exactly get the point where server begin to saturate. I tested for 100, 200, 1000 query rows for 100, 120, 140, ,500 demand rates and get the results. Here I am attaching the results with this. In results.png, include a quick review of all results and in the zip file there are separate graphs in detail. thoughts: Data Services 2.5.0 shows slightly high performance(almost the same) than Data Service 2.2.0. We can identify the demand rate where the server start to saturate, which shows the highest response rate. When query rows increases, it saturate at lower demand rates. Ideally this test is to be done in separate client and server machines. But I ran them in same machine. Shall I use the private cloud to do the testing for separate client/server? -- Thanks Eranda ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services performance test results using performance testing framework
Anjana Fernando wrote: Hi, Yeah, you will not see any performance difference between 2.2.0 and 2.5.0 versions because, the core is basically the same, only additional features are added to 2.5.0. The major difference came with 2.2.0. So the two version you should be testing for performance should be 2.0.0 and the 2.2.0/2.5.0 releases. And also, because of the streaming functionality, the main advantage is memory consumption. I'm not sure if that is possible to measure with the performance testing framework, and to effectively test this, service calls must be made, which returns significantly large responses. We have planned to provide server side memory, cpu usage etc in the next step. Thanks, Damitha Cheers, Anjana. On Tue, Jun 1, 2010 at 5:16 PM, Eranda Sooriyabandara era...@wso2.com wrote: This test was done for the Data Services team to compare the performance of the Data Services servers 2.2.0 and 2.5.0 using the Performance testing framework. What I did here is add a RDBMS data source, create a data query service, and querying different number of rows form the Data Service server. In performance test framework we can increase the number of concurrent requests per second(demand rate) step by step so that we can exactly get the point where server begin to saturate. I tested for 100, 200, 1000 query rows for 100, 120, 140, ,500 demand rates and get the results. Here I am attaching the results with this. In results.png, include a quick review of all results and in the zip file there are separate graphs in detail. thoughts: Data Services 2.5.0 shows slightly high performance(almost the same) than Data Service 2.2.0. We can identify the demand rate where the server start to saturate, which shows the highest response rate. When query rows increases, it saturate at lower demand rates. Ideally this test is to be done in separate client and server machines. But I ran them in same machine. Shall I use the private cloud to do the testing for separate client/server? -- Thanks Eranda ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- __ Damitha Kumarage Technical Lead; WSO2 Inc. Oxygenating the Web Service Platform; http://www.wso2.com/ blog: http://damithakumarage.wordpress.com/ __ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services performance test results using performance testing framework
Hi Eranda; If you need more than average, right way to go is drawing confidence intervals (http://en.wikipedia.org/wiki/Confidence_interval)/ error bars, which will let you draw both servers on same graph. But in general, only average is good. Also what are X/Y axis? Thanks Srinath On Tue, Jun 1, 2010 at 5:16 PM, Eranda Sooriyabandara era...@wso2.com wrote: This test was done for the Data Services team to compare the performance of the Data Services servers 2.2.0 and 2.5.0 using the Performance testing framework. What I did here is add a RDBMS data source, create a data query service, and querying different number of rows form the Data Service server. In performance test framework we can increase the number of concurrent requests per second(demand rate) step by step so that we can exactly get the point where server begin to saturate. I tested for 100, 200, 1000 query rows for 100, 120, 140, ,500 demand rates and get the results. Here I am attaching the results with this. In results.png, include a quick review of all results and in the zip file there are separate graphs in detail. thoughts: Data Services 2.5.0 shows slightly high performance(almost the same) than Data Service 2.2.0. We can identify the demand rate where the server start to saturate, which shows the highest response rate. When query rows increases, it saturate at lower demand rates. Ideally this test is to be done in separate client and server machines. But I ran them in same machine. Shall I use the private cloud to do the testing for separate client/server? -- Thanks Eranda ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. WSO2 Inc. http://wso2.com Blog: http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev