Hi gayan,

In order to verify the loadbalancing of events in a round robin manner, you
can have two BAM nodes pointing to its own cassandra instance (not
clustered), and send the events to those BAM nodes. If your client is
configured correctly for load balancing scenario, then you will see each
bam nodes will have nearly equal amount of events stored in its respective
BAM nodes. This is just for testing purpose to verify, but of course in
real case cassandra will be clustered, hence finally even though the load
is balanced within receiver nodes it stores in the same cassandra cluster,
hence it's not observable from outside.

Thanks,
Sinthuja.

On Wed, Oct 22, 2014 at 4:53 AM, Gayan Dhanushka <[email protected]> wrote:

> Hi all,
>
> I have been trying to move the AsyncDataPublisher used in App Factory to
> LoadBalancingDataPublisher to cater load balancing and failover. Even
> though [1] describes that it sends data to available receiver nodes in a
> round robin manner, I was only able to observe the failover scenario.
>
> Can somebody please explain ?
>
> [1]
> https://docs.wso2.com/display/BAM240/Setting+up+Multi+Receiver+and+Load+Balancing+Data+Agent#SettingupMultiReceiverandLoadBalancingDataAgent-Loadbalancingconfigurations
>
> Thanks
> GayanD
>
> --
> Gayan Dhanuska
> Software Engineer
> http://wso2.com/
> Lean Enterprise Middleware
>
> Mobile
> 071 666 2327
>
> Office
> Tel   : 94 11 214 5345
> Fax  : 94 11 214 5300
>
> Twitter : https://twitter.com/gayanlggd
>



-- 
*Sinthuja Rajendran*
Senior Software Engineer <http://wso2.com/>
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to