load balancing using pgpool vs rails octopus?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

load balancing using pgpool vs rails octopus?

Deepak kumar

Recently we thought of using Heroku postgres Follower/slave database for our read requests. Now I am confused between the below 2 approaches.

  1. Use octopus rails gem to load balance between various slaves/followers.

  2. Using pgpool for load balancing. Basically pgpool is a middleware that sits between app server and db server. App server connects to this middleware instead of connecting to db server directly and pgpool will be responsible for load balance between various slaves.

I am not sure if we should go with both the approach or choose one. I am completely new to this kind of setup. I may be missing some basic key points.

Any suggestions will be greatly appreciated .

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/604979c3-66fc-4fda-8b85-e39425d3de91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.