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.

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

Reply via email to