CHAT - High Availability settings for Postgresql
We were provided with below configurations for mongoDB to connect with multiple nodes from chat application.
"mongodb" : {
"replicaset": {
"db" : "chat",
"user" : "admin",
"password" : "*******",
"name":"rs1",
"replicas": [{"host":"aaa.iii.com","port":1234}, {"host":"aaa1.iii.com","port":1234}]
}
},
- We have upgraded our chat to latest version (7.4.7) and looking for some setting like above for postgres which is running on multiple nodes.
- Does chat application on postgres support High Availability? Like if node1 of postgres goes down which is master, does the chat application failover to node2.
Thanks,
Anjan.
***Moderator Edit-Vidyaranjan: Updated SR details***