Re: libpq async connection and multiple hosts

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: libpq async connection and multiple hosts
Дата
Msg-id CA+mi_8aAL=a6SM+UTsce=s_9DWOjsH1fwcqFLkbwRKd+oNr0Pw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libpq async connection and multiple hosts  (Jelte Fennema <postgres@jeltef.nl>)
Ответы Re: libpq async connection and multiple hosts  (Jelte Fennema <postgres@jeltef.nl>)
Список pgsql-hackers
On Wed, 25 Oct 2023 at 17:35, Jelte Fennema <postgres@jeltef.nl> wrote:

> You should implement load_balance_hosts=random though
> by randomizing your hosts list.

Good catch. So it seems that, if someone wants to build an equivalent
an async version of PQconnectdb, they need to handle on their own:

- connect_timeout
- multiple host, hostaddr, port
- load_balance_hosts=random

Does this list sound complete?

-- Daniele



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: CRC32C Parallel Computation Optimization on ARM
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: libpq async connection and multiple hosts