Message-ID: From: "robert-mirzakhanian (@robert-mirzakhanian)" To: "pgjdbc/pgjdbc" Date: Sun, 02 Feb 2025 20:40:57 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3506: feat: Add access for global host status tracker In-Reply-To: References: List-Id: X-GitHub-Author-Login: robert-mirzakhanian X-GitHub-Comment-Id: 2629546988 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3506 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3506#issuecomment-2629546988 Content-Type: text/plain; charset=utf-8 My database is hosted in the cloud, and my provider has the API. I use it to get a list of all hosts, their roles, and the current state of. In the background, I periodically check the status of these hosts. As soon as one of the nearest ones becomes available again, I can restore connections, which will reduce the delay in processing\requests. In order not to close the connection just like that, I want to first understand which host the driver is connected to.