public inbox for [email protected]
help / color / mirror / Atom feed[Tool] pg-status — lightweight microservice for checking PostgreSQL host status
2+ messages / 2 participants
[nested] [flat]
* [Tool] pg-status — lightweight microservice for checking PostgreSQL host status
@ 2026-01-22 10:26 Андрей Крылосов <[email protected]>
2026-01-22 16:15 ` Re: [Tool] pg-status — lightweight microservice for checking PostgreSQL host status Adrian Klaver <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Андрей Крылосов @ 2026-01-22 10:26 UTC (permalink / raw)
To: [email protected]
Hi all!
I'd like to share a small open‑source project I've been working on:
[pg-status](https://github.com/krylosov-aa/pg-status).
pg-status is a lightweight microservice (sidecar) that helps you instantly
determine the status of your PostgreSQL hosts: whether they are alive,
which one is the master, which ones are replicas, and how far each replica
is lagging behind the master.
It's designed to run alongside your main application. It's lightweight,
resource‑efficient, and delivers high performance. You can query it on
every request without noticeable overhead.
pg-status polls your database hosts in the background at a configurable
interval and exposes an HTTP interface that you can use to retrieve hosts
matching given conditions.
I originally built it to speed up master detection in a multi‑host setup
where DNS failover was too slow, but it's also handy for proxy setups or
custom load‑balancing logic.
More information is available on GitHub:
https://github.com/krylosov-aa/pg-status
Feedback and discussion are very welcome. I'd love to hear your thoughts!
Best regards,
Andrei Krylosov
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [Tool] pg-status — lightweight microservice for checking PostgreSQL host status
2026-01-22 10:26 [Tool] pg-status — lightweight microservice for checking PostgreSQL host status Андрей Крылосов <[email protected]>
@ 2026-01-22 16:15 ` Adrian Klaver <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Klaver @ 2026-01-22 16:15 UTC (permalink / raw)
To: Андрей Крылосов <[email protected]>; [email protected]
On 1/22/26 02:26, Андрей Крылосов wrote:
> Hi all!
>
> More information is available on GitHub: https://github.com/krylosov-aa/
> pg-status <https://github.com/krylosov-aa/pg-status;
>
> Feedback and discussion are very welcome. I'd love to hear your thoughts!
Interesting. I personally do not run complex enough setups to benefit,
but I can see where it would for those that do.
For future reference, announcements of this sort have a list:
https://www.postgresql.org/list/pgsql-announce/
>
> Best regards,
> Andrei Krylosov
--
Adrian Klaver
[email protected]
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-01-22 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-01-22 10:26 [Tool] pg-status — lightweight microservice for checking PostgreSQL host status Андрей Крылосов <[email protected]>
2026-01-22 16:15 ` Adrian Klaver <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox