RDS Aurora for PostgreSQL Cluster has a writer and 2 reader nodes. When there is huge write activity and when reader node lags in catching up to those changes, aurora stops reader node(s) – catches up to the updates and starts the instance. This is done to avoid stale reads.
But this causes applications connecting to the readers fail while the readers are restarting, can I use pgpool or any other tool in this situation where it can monitor readers and when they are not up, forward the reads to writer? Want to avoid application failures, please advise on how best to approach this.