load balancing and fail over services using jboss4.0.2
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, September 22, 2006 07:33 AM

Hi, We are having 200 members, all those 200 members will use our jboss Application, which we are maintaing total 7 Jboss servers for better performance. we have divided all 200 in to 7 jboss servers manually. so every jboss server will handle around 30 members. Now if any of the server goes worng then all the 30 persons are not able to work. and few jboss servers are very busy and few are free. bec., in few servers all the 30 members will work at a time and few servers only 10 or 15 members will work. now we are looking for load balencing and fail over features in jboss 4.0.2. please send me a example how to make loadbalencing and how to make fail over service in jboss. if possible please send me the java code how to send req   More>>

Hi,

We are having 200 members, all those 200 members will use our jboss Application, which we are maintaing total 7 Jboss servers for better performance. we have divided all 200 in to 7 jboss servers manually. so every jboss server will handle around 30 members.

Now if any of the server goes worng then all the 30 persons are not able to work. and few jboss servers are very busy and few are free. bec., in few servers all the 30 members will work at a time and few servers only 10 or 15 members will work.

now we are looking for load balencing and fail over features in jboss 4.0.2. please send me a example how to make loadbalencing and how to make fail over service in jboss. if possible please send me the java code how to send requests from one server to another server, and how to check which server is busy and which one is free.

Than Q

vali

   <<Less

Re: load balancing and fail over services using jboss4.0.2

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, October 9, 2006 03:29 PM

I think (?) the load balancing and failover services are handled "under the covers" by the application server cluster, perhaps affected by some configuration file settings.



I don't think you will find an API to explicitly address these things at runtime in your client code though? (the load balancer will just choose a server itself, based on the algorithm specified e.g. least loaded or least recently used, session affinity etc., and the failover will either automatically happen or not, depending on the config, etc.)



Maybe they're exposed as MBeans, so you could write some sort of management console with the MBeans available for tweaking at runtime, in case it makes a difference?
About | Sitemap | Contact