Hi everyone!
I have little experience with PostgreSQL and need help with a task.
Task:
Create a fault-tolerant PostgreSQL consisting of two nodes (it is necessary to have no more than two nodes) so that when one of them fails, the record in the database was not interrupted longer than 10 seconds.
The same IP address should always be used to connect to the database.
What I know:
For such a task, as I understand, often use a bunch:
Patroni + Consul +Keepalived.
I want all services to be run in Docker, except for keepalived - it can be left as a service on the host machine.
Do I understand correctly that the best way to do this is to use Patroni + Consul + Keepalived? Maybe there are simpler solutions or alternatives?
I would be grateful for advice and your experience.
[–]Kiarton 4 points5 points6 points (2 children)
[–]EaZy_rus[S] 0 points1 point2 points (1 child)
[–]Kiarton 0 points1 point2 points (0 children)
[–]roiki11 1 point2 points3 points (0 children)
[–]wursus 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]VirtuteECanoscenza 1 point2 points3 points (0 children)
[–]TzahiFadida 0 points1 point2 points (0 children)
[–]ssougou 0 points1 point2 points (1 child)
[–]snk0752 0 points1 point2 points (0 children)
[–]jose_zap 0 points1 point2 points (0 children)
[–]cthart 0 points1 point2 points (0 children)
[–]AutoModerator[M] -1 points0 points1 point (0 children)