We are using Apartment to manage our multi-tenancy database. As we scale up, we're looking into option to setup a master-slave database, where the write queries would go to slave instead of master. After few setback, it seems like we're hitting a dead end. Is there any possible way to do this with Apartment gem? So far we've tried with Octopus and Makara gem.
We are using Apartment to manage our multi-tenancy database. As we scale up, we're looking into option to setup a master-slave database, where the write queries would go to slave instead of master. After few setback, it seems like we're hitting a dead end. Is there any possible way to do this with Apartment gem? So far we've tried with Octopus and Makara gem.