• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automatic Database Node switching in jdbc

 
rambabu desina
Ranch Hand
Posts: 42
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

I have a scenario like this.
In my present application, there are two database nodes which are clustered. say node1 ,node2 then there is any possibility to send the request to node2 if node1 is busy, automatically in jdbc program.
and load balancing is not there at database side.

Thanks and Regards
Ram
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I don't know if this api HA-JDBC could meet your requirements but you could take a look to the balancer by calculated load feature.

http://ha-jdbc.github.io/doc.html
http://ha-jdbc.github.io/doc.html#balancer

Best regards,
 
rambabu desina
Ranch Hand
Posts: 42
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for giving good reference

Regards
ram
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic