2

I am trying to find a solution for load balancing b/w multiple RMI servers running same service API.

Are there any solutions you have used or would recommend?

user2652406
  • 121
  • 1
  • 8
  • You can use DNS round robin. It should be simple to implement if requests are stateless/ non-conversational. – Bimalesh Jha Sep 27 '13 at 08:53
  • @BimaleshJha thx for the advise but this will cause issues if one of the server becomes unavailable and DNS will have to no way to do the health check and stop sending out the IP of bad server to the clients. – user2652406 Sep 27 '13 at 09:01
  • 1
    You should build sufficient **application logic** to timeout and retry with a new location or have some kind of `heartbeat` mechansim. Hope you get the idea. – Bimalesh Jha Sep 27 '13 at 09:07
  • What Server do you use? I could imagine some Containers have support for this. – Fildor Sep 27 '13 at 09:43
  • Any new findings here? I would be interested in a simple load-balancing to be used directly in the client too. – Harald Mar 30 '14 at 08:25

1 Answers1

0

Change to RMI/IIOP and use a load-balancing ORB of your choice.

user207421
  • 305,947
  • 44
  • 307
  • 483