Hi Pulasthi,

Yes. We do not need  global invalidation (although it would solve the
problem), but the request is to sink AF Registry cache with the DB. We are
in the same JVM, and we need a method/way to tell registry remove this
particular path from Registry path cache.

thanks,
dimuthu


On Tue, Nov 11, 2014 at 12:16 PM, Pulasthi Supun <pulas...@wso2.com> wrote:

> Hi All,
>
>
> From what i understand the AF and SM are in different domains that is why
> distributed caching will not be able to handle this scenario right?. global
> cluster cache invalidation has been done with the use of a pub sub
> mechanism ( discussed in archi under "Global cluster cache invalidation
> code review Notes" ) but this will only be available in the next release
> AFAIK.
>
> Regards,
> Pulasthi
>
> On Tue, Nov 11, 2014 at 10:00 AM, Amalka Subasinghe <ama...@wso2.com>
> wrote:
>
>>
>> Hi,
>>
>> The scenario is, we have mounted SM's registry to the App Factory
>> registry to remove the remote call for read the resources. but still the
>> write calls happens via SM. see the image below.
>>
>>
>> ​
>>
>> The problem is, once we do a write call to the SM's registry, App Factory
>> registry cache won't get updated, so old information will be shown in App
>> Factory pages.
>> Is there a way to remove an entry from the App Factory registry cache
>> when we do a write call to the SM's registry? then when we do a read call,
>> it will load the cache again and show the updated information.
>>
>> Thanks
>> Amalka
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> --
> Pulasthi Supun
> Software Engineer; WSO2 Inc.; http://wso2.com,
> Email: pulas...@wso2.com
> Mobile: +94 (71) 9258281
> Blog : http://pulasthisupun.blogspot.com/
> Git hub profile: https://github.com/pulasthi
>



-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

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

Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to