Hi Azeez,
I think you misunderstood my requirements.
I have different clusters (i.e. bunch of machines) exposing a certain
number of web services. Each cluster has its own load balancer,
policies, etc.
What I want is add another layer of indirection. Requests will pass
through synapse and will be forwarded to the load balancers,
according to my own policies. I want to be able to dynamically add
new clusters at runtime.
The final scenario is:
Synapse------------>LB1--------> cluster 1
------------>LB2 -------> cluster 2
etc.
That is, clients send requests to the synapse machine, which will
forward them to a certain load balancer LBn, which in turn will
forward them to certain servers for execution.
Hope everything is clear now.
Michele
On 20 Oct 2008, at 15:49, Afkham Azeez wrote:
Hi Michele,
You requirement seems to be dynamic groups. In Synapse we support
dynamic
membership within specified groups. I think what you mean by "new
cluster"
is actually a "new group". I don't think it is practically possible to
dynamically add a new group at runtime.
For dynamic load balancing with dynamic membership (with static
groups),
check out Synapse sample #57.
I hope that I have understood your question correctly.
HTH
Azeez
On Mon, Oct 20, 2008 at 7:28 PM, Michele Mazzucco <
[EMAIL PROTECTED]> wrote:
Hi all,
I'd like to use Synapse for load balancing across different
clusters. In
particular, I want not only to implement my own routing policy
(which I know
it's possible), but also to add new clusters at runtime (i.e. the
possible
destinations are not specified into a xml file).
I know I can implement it using just Axis2, but I was wondering
whether it
is possible to use Synapse (i.e. write less code). If this is the
case, I'd
really appreciate some pointers (I know Axis2 very well, but not
Synapse).
Thanks in advance,
Michele
--
Thanks
Afkham Azeez
Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760