On Fri, Apr 22, 2011 at 4:24 PM, Janaka Ranabahu <jan...@wso2.com> wrote:

>
>
> On Fri, Apr 22, 2011 at 3:47 PM, Waruna Ranasinghe <war...@wso2.com>wrote:
>
>>
>>
>> On Fri, Apr 22, 2011 at 3:39 PM, Supun Kamburugamuva <su...@wso2.com>wrote:
>>
>>>  For the users of the registry, it is important to know weather
>>> registry database is down.
>>>
>>> For example we have the requirement of caching the resources at
>>> theimplemtation
>>>
>>> ESB level and manage these caches according to the ESB specific
>>> configurations. So I believe we have implemented something that should
>>> have being implemented at the application layer at the registry level.
>>>
>>> The correct way to implement this kind of functionalities in the
>>> registry is using an adapter kind of approach. If a user wants
>>> registry resource caching they can use a adapter to access the
>>> registry instead of direct access.
>>>
>>
>> Or we may introduce a mechanism to disable registry caching. In the
>> current implementation there is no way to disable registry caching.
>>
>
> AFAIK Senaka did some changes recently and made registry caching
> configurable. Also with the default configuration registry caching is
> disabled.
>

default should be caching enabled.


>
> Thanks,
> Janaka
>
>>
>> Thanks,
>> Waruna
>>
>>
>>>
>>> Thanks,
>>> Supun..
>>>
>>> On Fri, Apr 22, 2011 at 3:29 PM, Sumedha Rubasinghe <sume...@wso2.com>
>>> wrote:
>>> > How else would you expect a cache to behave? ;-)
>>> > /sumedha
>>> >
>>> > On Fri, Apr 22, 2011 at 3:27 PM, Supun Kamburugamuva <su...@wso2.com>
>>> wrote:
>>> >>
>>> >> I tried to shut down the registry database and access the registry
>>> >> resources. It seems, even though the database is down registry is
>>> >> serving the resources from a cache. Is this the behavior of the
>>> >> registry?
>>> >>
>>> >> Thanks,
>>> >> --
>>> >> Supun Kamburugamuva
>>> >> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
>>> >> Member, Apache Software Foundation; http://www.apache.org
>>> >> WSO2 Inc.;  http://wso2.org
>>> >> E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
>>> >> Blog: http://supunk.blogspot.com
>>> >> _______________________________________________
>>> >> Carbon-dev mailing list
>>> >> Carbon-dev@wso2.org
>>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>> >
>>> >
>>> > _______________________________________________
>>> > Carbon-dev mailing list
>>> > Carbon-dev@wso2.org
>>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Supun Kamburugamuva
>>> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
>>> Member, Apache Software Foundation; http://www.apache.org
>>> WSO2 Inc.;  http://wso2.org
>>> E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
>>> Blog: http://supunk.blogspot.com
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> -------------------------------------------------------------------------
>> Waruna Ranasinghe
>> Senior Software Engineer, WSO2
>>
>> Mobile: +94 724 318285
>> BLOG: http://warunapw.blogspot.com
>>
>> www.wso2.com - "Lean . Enterprise . Middleware"
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Janaka Ranabahu
> Software Engineer
> WSO2 Inc.
>
> Mobile +94 718370861
> Email : jan...@wso2.com
> Blog : janakaranabahu.blogspot.com
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to