Skip to content 

- Postgres High Availability
- Comparison of Different Solutions
- Exercise:
- Develop a system with a replicated postgres db using 2 docker containers.
- The system should use streaming replication (WAL) for synchronizing the DB state.
- Both db instances can run on the same host machine.
- You should be able to connect to each instance separately (e.g. using Rider or DataGrip) though to check correct synchronization.
- Make sure that your system can be started and stopped using
docker compose
.
- Test the fault tolerance of your system by killing individual instances and document the behavior of the system.