Hi Imesh, Thanks for the initial version. However, you haven't taken member IP into an account and I feel you got yourself confused with the host name (which is unique to a cluster) and IP (which represents a running instance's address along with ports.) .
I've fixed this in commit ba99c95b19535d89cdb3f7f94dfbe95ca7845cb1. On Wed, Oct 16, 2013 at 10:44 PM, Isuru Haththotuwa <[email protected]> wrote: > Awesome! Nice work! > > > On Wed, Oct 16, 2013 at 10:23 PM, Imesh Gunaratne <[email protected]>wrote: > >> Hi, >> >> The initial version of the Load Balancer is now ready. All changes are >> committed to git. >> >> *Components Implemented (Initial versions):* >> - Domain Model for managing the topology data structure. >> - Topology events for receiving topology updates. >> - Topology Event Message Receiver for receiving event messages from the >> message broker. >> - Topology Event Message Processor for updating the topology data >> structure in Load Balancer. >> - Topology Manager for maintaining the topology data structure and it's >> consistency using a Reentrant Read Write Lock. >> - Load balance endpoint. >> - Session management. >> >> *Components to be Implemented:* >> - Load balancing algorithm interface and its Round Robin implementation. >> - Load balancing statistics reporting interface and its implementation >> for CEP. >> - Domain mappings. >> >> This version of the LB could be tested with a sample message broker >> client which could publish topology events to the topology-topic. These >> event could include a sample service cluster with a member having a valid >> host name and a port to a web application. >> >> One important factor of this implementation is that we have reduce the >> coupling between Stratos LB and Apache Synapse/Axis2/Tribes Clustering. As >> a result most of the LB components could be re-used and maintained easily. >> >> Many Thanks >> Imesh >> > > > > -- > Thanks and Regards, > > Isuru H. > Software Engineer, WSO2 Inc. > +94 716 358 048* <http://wso2.com/>* > > > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
