boostorg / boostorg/mysql

Improve connection_pool connection retry strategy

Aperta
#200 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C++
Stelle
299
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

* The retry strategy is currently very simple (linear time between retries) and not configurable. When there are a lot of connections, this can saturate the network. A configurable retry strategy may be an option. An exponential backoff may be beneficial.
* When `initial_size` is big, all connections attempt an establishment try at the same time. This can again cause congestion. We may want to limit this.
* This may also cause trouble with https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_connect_errors

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.