| От | Karsten Hilbert |
|---|---|
| Тема | Re: Designing a better connection pool for psycopg3 |
| Дата | |
| Msg-id | YAWnFSR2HIbR1hhM@hermes.hilbert.loc обсуждение |
| Ответ на | Re: Designing a better connection pool for psycopg3 (Daniele Varrazzo <daniele.varrazzo@gmail.com>) |
| Список | psycopg |
Am Mon, Jan 18, 2021 at 04:12:05PM +0100 schrieb Daniele Varrazzo: > > > partition or reconfiguration, and the app server doesn't see the > > > database anymore. This node is arguably broken. > > > > Only if this is the *only* thing it does. > > > > It might still be able to reach other services on other nodes. Other > > databases. Heck, even other database son the same node if it was a > > config error. > > In your opinion (and Karsten's, if he'd like to chip in), what should > happen on program start? Is attempting to create a new connection in > the main thread, and throwing an exception if failing to do so, a > reasonable behaviour? Sure ! The app can always catch that and decide what to do. Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
В списке psycopg по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера