How should I distribute Postgres reads to followers when using Rails? e.g. Octopus

Issue

You are using Rails and want to setup distributed database reads.

Resolution

Many older articles online recommend the use of the Octopus project for distributing database queries with Rails. However we no longer recommend the use of Octopus for this purpose. Despite the fact that there has been some activity on the repo, the maintainer claims that the project is not going to maintained, meaning that there may be better options elsewhere.

If you are using ActiveRecord then you may want to consider Zendesk's solution instead. Configuration is very straightforward and covered in the README on the project.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support