Hey Jack,

A common approach in ruby apps is using the Octopus gem. An approach
to making it work seamlessly on Heroku can be found on Dev Center:
https://devcenter.heroku.com/articles/distributing-reads-to-followers-with-octopus

-Harold

On Mon, Mar 31, 2014 at 11:29 AM, Jack Royal-Gordon <[email protected]> wrote:
> I have an application that has a little db updating in the foreground (mostly 
> user configuration), and a great deal of db updating in the background 
> (scraping information off the web for 12 hours per day). I'm starting to see 
> the performance of the foreground web requests be affected by the background 
> processing, so I think it's time to setup a Master-Follower configuration so 
> that the foreground "Select"s would go against the slave while the background 
> heavy-lifting takes place against the master (up-to-the-minute 
> synchronization with the followers is not an issue). I've looked at Octopus, 
> DBCharner, Masochism, and Makara, but they all seem to have one or another 
> issue. I'm hoping to require very few changes to my program (in other words, 
> a gem that automatically separates read and writes like Makara), support 
> Rails 3.1.9, and be compatible with Heroku (of course). It seems like most of 
> these packages require configuration in the database.yml file, which I think 
> means they can't be used with Heroku.
>
> Is anyone out there doing something like this on Heroku? What gem are you 
> using, and are you happy with it?
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "Heroku Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to