Hi Chathura,

My suggestion is to give the capability of specifying a location (path) to
the admin user.

Admin user can specify a location in the configuration file
(app-manager.xml). Then he can mount that location to all nodes in the
cluster. So, in Java we can access that location.

This approach have several advantages:

   - High fault tolerance. Because we can safely assume that admin user
   will choose a secured location with a low downtime.
   - No extra effort to read/write data, because location will be mounted
   to every node.
   - Less implementation burden as we don't have to use any extra libraries.


Cheers.

On Wed, May 20, 2015 at 5:07 PM, Chathura Dilan <[email protected]> wrote:

> Hi All,
>
> In App Manager users can upload mobile applications though publisher
> Jaggery app and others can download them from that app.
>
> Uploaded mobile applications are currently saved in
> /repository/resources/mobileapps folder in the server home.
>
> We have a issue in clustering AppM, since /repository/resources/mobileapps
> not synced in all nodes of the cluster.
>
> Mobile apps can be large files and we can neither store them in the
> registry nor move it to  /repository/deployment folder for dep sync. If we
> take uploaded mobile apps all together sometimes it could exceed 10GB.
>
> Only way is to store them in a central location. Do we have any solution
> to address it? or is there any better approach to save those binaries to a
> central location.
>
>
> Thank you,
>
> --
> 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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to