Rails 3和mysql主从复制
想在rails app中设置mysql主从复制。
是否有适用于Rails 3的插件/数据库适配器? Masochism插件是否适用于rails 3?
试试Octopus,它支持rails3和rails2.3: https : //github.com/tchandy/octopus
Masochism,DbCharmer,data_fabric等人可能永远不会为Rails3更新,因为许多ActiveRecord内部都发生了巨大的变化。
data_fabric现在声称支持Rails 3.0.7 https://github.com/mperham/data_fabric
而且seamless_database_pool已经修补以支持Rails 3(但看起来它有一段时间没有更新): http : //www.williambharding.com/blog/rails/rails-3-slave-database-options-there-are -二/