开发者

rails 3 with multiple mysql connections

I am building a rails 3 application and I have two mysql servers, both of which can handle mysql queries. Traditionally, rails 3 has maintained one persiste开发者_如何学Pythonnt database connection. But I was wondering how one can A) define multiple mysql connections B) automatically load balance the mysql queries amongst multiple mysql connections

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜