eugenio
unread,Nov 23, 2009, 10:17:19 AM11/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
i would like to use some kind of replication (master -> slave or,
better, master <-> master) to provide better performance and fail-
over.
as i read, multi-master replication in mysql is quite problematic: i'm
talking about duplicate key problem.
so i was searching about plugins that make rails aware of a master-
slave setup.
masochims seems to be nice.
have you tried it?
i would like to use master for writes (obviously) and [master, slave]
for reads. is it possible? is it possible to add more then one slave
to database.yml?
i didn't test it by myself because of the lack of a decent computer,
capable to run two mysql server.
thanks.