Hi Maninda, Yes, we going to support distributed caching between ESB nodes in a single cluster.
This cache supports both local mode & distributed mode. If (Axis2) clustering is enabled, the cache works as a distributed cache. It is simply using a Hazelcast distributed map per cache. If clustering is not enabled, then the same caching implementation works as a local cache. you can find find further details from[1] [1]. http://blog.afkham.org/2013/11/wso2-multi-tenant-cache-jsr-107-jcache.html Thanks. On Wed, Mar 18, 2015 at 11:27 AM, Maninda Edirisooriya <[email protected]> wrote: > Are we going to support distributed caching between ESB nodes in a single > cluster? Then what about using Hazelcast distributed caching? > > > *Maninda Edirisooriya* > Senior Software Engineer > > *WSO2, Inc.*lean.enterprise.middleware. > > *Blog* : http://maninda.blogspot.com/ > *E-mail* : [email protected] > *Skype* : @manindae > *Twitter* : @maninda > > On Wed, Mar 18, 2015 at 6:52 AM, Vijitha Ekanayake <[email protected]> > wrote: > >> Hi all, >> >> Current implementation of ESB cache mediator does not support for >> distributed caching and it uses org.wso2.carbon.caching.core implementation >> which ships with carbon-qos to provide caching functionalities. Since >> carbon-qos has already deprecated we need to use better alternative to >> provide caching in ESB. For that I’m going to implement cache mediator >> using javax.cache API and use similar synapse configurations currently used. >> >> To generate request hash values, I'm going to use REQUESTHASHGenerator >> instead of currently used DOMHASHGenerator as REQUESTHASHGenerator has >> implemented to overcome some limitation of the DOMHASHGenerator. >> >> cache will be kept in following manner >> key : requeshHash (request hash of the message) >> value : CachableResponse (Object which stored the backend response) >> >> Any suggestions are appreciated. >> >> >> Thanks. >> -- >> Vijitha Ekanayake >> Software Engineer*, *WSO2, Inc.; http://wso2.com/ >> Mobile : +94 777 24 73 39 | +94 718 74 44 08 >> lean.enterprise.middleware >> >> _______________________________________________ >> 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 > > -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
