Re: [Dev] [AppFactory] Moving the application name to the AppFactory database

2014-10-22 Thread Janaka Ranabahu
Hi Dimuthu,

On Wed, Oct 22, 2014 at 9:31 AM, Dimuthu Leelarathne dimut...@wso2.com
wrote:

 Hi Janaka,

 +1 but we need caching at Carbon layer in front of the database. Please
 make sure the cache is updated properly as app names keeps adding.

All the other changes(including the migration scripts) are done. I'll start
introducing a caching layer for this.

Thanks,
Janaka


 thanks,
 dimuthu


 On Mon, Oct 20, 2014 at 5:45 PM, Danushka Fernando danush...@wso2.com
 wrote:

 The only concern should be is about data migration we have to do in
 cloud. But IMO its now or never. So +1 to do it now.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Mon, Oct 20, 2014 at 5:05 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi,

 As a solution to [1], we have to move the Application Name to the
 AppFactory database. The current implementation keeps the application name
 in the registry and to check whether the name exists, we retrieve all the
 applications and then iterate through them to check whether the name
 exists. There is a considerable performance hit in this approach and
 therefore to improve the performance of this method,we will be adding the
 Application Name to the AppFactory database.

 Please raise any concerns you have on this.

 Also please note that we will be creating an migration script to migrate
 any old data as a part of this JIRA.

 Thanks,
 Janaka

 [1] https://wso2.org/jira/browse/APPFAC-2517

 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861
 %2B94%20718370861*

 Lean . Enterprise . Middleware





 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861*

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFactory] Moving the application name to the AppFactory database

2014-10-22 Thread Dimuthu Leelarathne
Hi Janaka,

+1 but we need caching at Carbon layer in front of the database. Please
make sure the cache is updated properly as app names keeps adding.

thanks,
dimuthu


On Mon, Oct 20, 2014 at 5:45 PM, Danushka Fernando danush...@wso2.com
wrote:

 The only concern should be is about data migration we have to do in cloud.
 But IMO its now or never. So +1 to do it now.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Mon, Oct 20, 2014 at 5:05 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi,

 As a solution to [1], we have to move the Application Name to the
 AppFactory database. The current implementation keeps the application name
 in the registry and to check whether the name exists, we retrieve all the
 applications and then iterate through them to check whether the name
 exists. There is a considerable performance hit in this approach and
 therefore to improve the performance of this method,we will be adding the
 Application Name to the AppFactory database.

 Please raise any concerns you have on this.

 Also please note that we will be creating an migration script to migrate
 any old data as a part of this JIRA.

 Thanks,
 Janaka

 [1] https://wso2.org/jira/browse/APPFAC-2517

 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861
 %2B94%20718370861*

 Lean . Enterprise . Middleware





-- 
Dimuthu Leelarathne
Architect  Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppFactory] Moving the application name to the AppFactory database

2014-10-20 Thread Janaka Ranabahu
Hi,

As a solution to [1], we have to move the Application Name to the
AppFactory database. The current implementation keeps the application name
in the registry and to check whether the name exists, we retrieve all the
applications and then iterate through them to check whether the name
exists. There is a considerable performance hit in this approach and
therefore to improve the performance of this method,we will be adding the
Application Name to the AppFactory database.

Please raise any concerns you have on this.

Also please note that we will be creating an migration script to migrate
any old data as a part of this JIRA.

Thanks,
Janaka

[1] https://wso2.org/jira/browse/APPFAC-2517

-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861*

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppFactory] Moving the application name to the AppFactory database

2014-10-20 Thread Danushka Fernando
The only concern should be is about data migration we have to do in cloud.
But IMO its now or never. So +1 to do it now.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Mon, Oct 20, 2014 at 5:05 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi,

 As a solution to [1], we have to move the Application Name to the
 AppFactory database. The current implementation keeps the application name
 in the registry and to check whether the name exists, we retrieve all the
 applications and then iterate through them to check whether the name
 exists. There is a considerable performance hit in this approach and
 therefore to improve the performance of this method,we will be adding the
 Application Name to the AppFactory database.

 Please raise any concerns you have on this.

 Also please note that we will be creating an migration script to migrate
 any old data as a part of this JIRA.

 Thanks,
 Janaka

 [1] https://wso2.org/jira/browse/APPFAC-2517

 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861
 %2B94%20718370861*

 Lean . Enterprise . Middleware

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev