You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in scaling my Rails application with master-slave replication using Makra.
As I understand, when one of the servers fails, Makara will blacklist it so it won't send traffic to it. But what happens if the master server fails? Then Rails application won't work because it won't be able to do write operations.
I assume I need to install and configure repmgr for automated failover to promote the slave server to master. How will the application know that there is a new master server when the old server will still be hardcoded in the configuration file? Could pgBouncer help with this, and how?
Any feedback is appreciated!
The text was updated successfully, but these errors were encountered:
I'm interested in scaling my Rails application with master-slave replication using Makra.
As I understand, when one of the servers fails, Makara will blacklist it so it won't send traffic to it. But what happens if the master server fails? Then Rails application won't work because it won't be able to do write operations.
I assume I need to install and configure repmgr for automated failover to promote the slave server to master. How will the application know that there is a new master server when the old server will still be hardcoded in the configuration file? Could pgBouncer help with this, and how?
Any feedback is appreciated!
The text was updated successfully, but these errors were encountered: