Hi Amila

On Fri, Aug 15, 2014 at 10:45 AM, Amila Maha Arachchi <[email protected]>
wrote:

> AF team,
>
> Its needless to say that there are several possible failure points in AF,
> hence in App Cloud. One such place is making the tenants subscribed to the
> dev, test and prod stratos environments. Due to some reason, if this step
> fails, then, thats the end of story for that tenant.
>
> Proposal:
>
> Hand over the subscription requests to a queue (doe not need to be JMS
> queue) and let a task do the subscription taking them from the queue. If
> the subscription is successful, remove it from the queue, else put it back,
> which will make the task to retry.
>

+1 for the thought. This was a known point of failure all of us knew and we
didn't think about a solution before.

AFAIK, this subscription step does not need to be synchronous. So, the
> above change has no impact to the tenant creation flow.
>

AFAIK this is already not synchronous.  The problem is if it fails it stays
failed. And your solution includes retries which is good.

>
> WDYT?
>
> Regards,
> Amila.
>
> --
> *Amila Maharachchi*
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to