Ruby on Rails Tuesday, April 4, 2017

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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.

No comments:

Post a Comment