I am writing an application which requires the Master/开发者_如何学编程Slave switch to happen inside the application layer. As it is right now, I instantiate a Zend_Db_Table object on creation of the
I\'m using the multi-db gem with Slony-I replication on PostgreSQL in a Rails app. This mostly works perfectly, but there is a bit of a replication lag in certain cases. One of the cases involves an A