Ruwan, thanks for the excellent explanation.

On Jan 29, 2008 12:30 PM, Ruwan Linton <[EMAIL PROTECTED]> wrote:

> Rajith,
>
> We currently supports clustering only over the Caching and Throttling
> mediators. Because synapse instances can share a remote registry to download
> the configuration at startup we can let each and every synapse nodes in a
> cluster to get its configuration from a single registry and start with a
> common configuration, so that we don't need to replicate the configuration.
> Of course if some one changes the configuration of a particular instance,
> that instance will only be changed to the new configuration, but we do not
> expect this to happen in a production environment. Even the user
> requirements which flows in to synapse were aware of that and OK with that.


Yes this make sense.

>
>
> Most part of synapse is stateless and hence does not have any effect over
> clustering, but Caching and Throttling does. So Caching and Throttle
> mediators use the axis2-clustering implementation to replicate the state of
> those mediators among the cluster within the implementation of those
> mediators it self. Other than that we do not replicate states of synapse in
> a global scope. I think this model fits for the moment and has performance
> improvements over supporting clustering in a global scope.
>

Yep I am in agreement. The reason I asked about clustering is bcos of the
recent thread on session mgt and the need to have the session-mediator state
replicated across the cluster (I hope I didn't misunderstand the requirments
here). I was wondering if this sort of thing is trivial to implement. Like
can we replicate any mediator state if we choose to in a trivial way?


> As a summary, yes we leverage axis2-clustering functionality but over the
> scope of mediator level, not on the synapse global scope. Any way synapse
> uses the underlying axis2.xml cluster configuration to enable clustering.
>
> I think this explains how we do clustering, if you need further
> clarification please let me know...

Thanks again.

>
>
> Thanks,
> Ruwan
>
>
> On Jan 29, 2008 10:30 PM, Rajith Attapattu <[EMAIL PROTECTED]> wrote:
>
> > folks,
> >
> > For clustering support are we leveraging the underlying Axis2 clustering
> > functionality?
> > Can somebody elaborate a bit about how this is done and what use cases
> > we support currently
> >
> > --
> > Regards,
> >
> > Rajith Attapattu
> > Red Hat
> > blog: http://rajith.2rlabs.com/
>
>
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"




-- 
Regards,

Rajith Attapattu
Red Hat
blog: http://rajith.2rlabs.com/

Reply via email to