pg-status polls your PostgreSQL hosts in the background and answers who s the current master? , which replica has lag ≤ 100ms? , which replica has already replayed this LSN? — all from memory, in under a millisecond. Written in C, ~9MB RAM.
pg-status polls your PostgreSQL hosts in the background and answers who s the current master? , which replica has lag ≤ 100ms? , which replica has already replayed this LSN? — all from memory, in under a millisecond. Written in C, ~9MB RAM.