Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Mon, 04 Dec 2023 12:01:46 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3012: Support multiple hosts defined with single hostname In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 1413776178 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: d425ed9c11bf075106ef47a65e56761b871c1be6 X-GitHub-Issue: 3012 X-GitHub-Line: 45 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/hostchooser/HostChooserFactory.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3012#discussion_r1413776178 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/hostchooser/HostChooserFactory.java:45) actually, cloud providers do this quite a bit. Where there is 1 writer and N readers. Active-Active is gaining traction in PostgreSQL so having N writers and M readers will be coming. If I had to choose between the two implementations it would probably be libpq only because more interfaces use it.