This need to sync with Enterprise Store. Since they already providing
storage from their side, we should get the changes done from that side
instead of we intriducing our model.
On 4 Aug 2015 18:08, "Sajith Ariyarathna" <sajit...@wso2.com> wrote:

> Hi Chathura & Shabir,
>
> Moving mobile apps and web apps to separate folders will be a good idea.
> It helps to distinguish web apps and mobile apps separately.
>
> Thanks.
>
> On Tue, Aug 4, 2015 at 5:51 PM, Sajith Ariyarathna <sajit...@wso2.com>
> wrote:
>
>> UUID comes from the registry and it is unique for the registry. Since
>> there is a separate registry instance for each tenant, we can say that UUID
>> is unique for all apps in a tenant.
>>
>> On Tue, Aug 4, 2015 at 5:26 PM, Chathura Dilan <chathu...@wso2.com>
>> wrote:
>>
>>> I'm also +1 to approach2. Is UUID unique for all app types? How do we
>>> distinguish webapps, mobileapps and other app types?
>>>
>>> On Tue, Aug 4, 2015 at 5:20 PM, Rushmin Fernando <rush...@wso2.com>
>>> wrote:
>>>
>>>> RuwanY, if we use a shared file system we can get rid of dep sync right
>>>> ?
>>>>
>>>> Thanks
>>>> Rushmin
>>>>
>>>> Sent from my mobile.
>>>> On Aug 4, 2015 4:50 PM, "Ruwan Yatawara" <ruw...@wso2.com> wrote:
>>>>
>>>>> Approach 2 does seem the best way to go.
>>>>>
>>>>> But if we are going with this approach, since we will have to rely on
>>>>> depsync there might at times be a delay of 15 seconds (sync thread 
>>>>> interval
>>>>> time) or more (time to checkout the artifacts from svn) in synchronizing
>>>>> the artifacts.
>>>>>
>>>>> Thanks and Regards,
>>>>>
>>>>> Ruwan Yatawara
>>>>>
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc.
>>>>>
>>>>> email : ruw...@wso2.com
>>>>> mobile : +94 77 9110413
>>>>> blog : http://ruwansrants.blogspot.com/
>>>>> www: :http://wso2.com
>>>>>
>>>>>
>>>>> On Tue, Aug 4, 2015 at 4:41 PM, Ruwan Abeykoon <ruw...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> +1 *Approach 2*: File directory
>>>>>>
>>>>>> Since,
>>>>>> 1. File system is faster than any of the database access methods
>>>>>> available and can be made to serve content with almost zero CPU load.
>>>>>> 2. In clustered environment, one can mount shared file system for
>>>>>> better performance.
>>>>>>    e.g NFS(Free) or commercial products
>>>>>> 3. Backup, restore is easy in shared file system. I think this
>>>>>> is appealing for sys-admins.
>>>>>>
>>>>>> Cheers,
>>>>>> Ruwan
>>>>>>
>>>>>> On Tue, Aug 4, 2015 at 4:16 PM, Sajith Ariyarathna <sajit...@wso2.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Images are uploaded as banners, screenshots and icons in the
>>>>>>> publisher of AppM. Currently (in version 1.0.0) these images are stored 
>>>>>>> in
>>>>>>> two different manners.
>>>>>>>
>>>>>>> *In web apps* (02 images)
>>>>>>>
>>>>>>> Images are stored in the "JAGH2" database using the Jaggery Storage
>>>>>>> Manager of ES v1.
>>>>>>>
>>>>>>> *In mobile apps* (05 images)
>>>>>>>
>>>>>>> Images are stored in a file directory (default location is
>>>>>>> "<AppM_Home>/repository/resources/mobileapps/"). This directory is also
>>>>>>> used to store uploaded mobile apps (.apk & .ipa files) and it is shared
>>>>>>> between nodes in a clustered environment (see email thread [1] ).
>>>>>>>
>>>>>>>
>>>>>>> We are hoping to use a single approach for both web apps and mobile
>>>>>>> apps in the upcoming AppM release. Some comments/points regarding two
>>>>>>> approach is given below.
>>>>>>>
>>>>>>> *Approach 1*: "JAGH2" database via Jaggery Storage Manager
>>>>>>>
>>>>>>> 1. In a clustered environment, user have to share the "JAGH2"
>>>>>>> database. This might be an extra burden for the user.
>>>>>>>
>>>>>>> 2. There are some performance concern regarding the Jaggery Storage
>>>>>>> Manager as it access the database using Jaggery.
>>>>>>> 3. What is the status of the Jaggery Storage Manager in the ES v2.0
>>>>>>> as AppM will be moving to Es V2.0 in the future.
>>>>>>>
>>>>>>> *Approach 2*: File directory
>>>>>>>
>>>>>>> 1. Since majority of images (05) are stored in the directory, moving
>>>>>>> the rest (02 images) will be easy. Developing a migration-tool (which
>>>>>>> copies existing images in the DB to the directory) will be easy too.
>>>>>>>
>>>>>>> 2. We can improve the files/folder structure inside the directory
>>>>>>> following manner.
>>>>>>>
>>>>>>> [image: Inline image 3]
>>>>>>>
>>>>>>>
>>>>>>> Your feedback regarding this matter is highly appreciated.
>>>>>>> Thanks.
>>>>>>>
>>>>>>> [1] [Dev] [AppM] Issue with clustering AppM with large mobile apps
>>>>>>>
>>>>>>> --
>>>>>>> Sajith Ariyarathna
>>>>>>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>>>>>>> mobile: +94 77 6602284, +94 71 3951048
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Ruwan Abeykoon*
>>>>>> *Architect,*
>>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>>>>>> *lean.enterprise.middleware.*
>>>>>>
>>>>>> email: ruw...@wso2.com
>>>>>> phone:(+94) 777739736
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Chatura Dilan Perera
>>> *Senior Software Engineer** - WSO2 Inc.*
>>> www.dilan.me
>>>
>>
>>
>>
>> --
>> Sajith Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>> mobile: +94 77 6602284, +94 71 3951048
>>
>
>
>
> --
> Sajith Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> mobile: +94 77 6602284, +94 71 3951048
>
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to