• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI-IIOP Load Balancing and Failover

 
Ranch Hand
Posts: 33
Android Mac PPC Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

We have an J2EE application deployed on Websphere v6.1 clustered environment and have one another client application which calls this application via RMI transactions.

Therefore, we have a need to do load balancing for RMI transactions. How can we achieve "RMI-IIOP Load Balancing and Failover"? Please share your thoughts.

Thanks,
Ankit
 
Ankit Thakkar
Ranch Hand
Posts: 33
Android Mac PPC Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone having any idea please help us, we really stuck up with RMI load balancing?

Thanks,
Ankit
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Ankit
you can use a mutiple servers in the corbaloc url

corbaloc::server1_boot_strap_port:9812,:server2_boot_strap_port::9813

I'm not sure that it load balances in a round robin fashion but it will failover to the next server in the list if the first is down.

In terms of load balancing this article has some code samples on ejb client calls it randomly picks the corbaloc urls , sort of DIY load balancing

for example
url1=corbaloc::server1_boot_strap_port:9812,:server2_boot_strap_port::9813
url2=corbaloc::server2_boot_strap_port:9813,:server1_boot_strap_port::9812


http://www.ibm.com/developerworks/websphere/techjournal/0412_vansickel/0412_vansickel.html


 
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic