boostorg / boostorg/mysql

Improve connection_pool connection retry strategy

オープン
#200 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
C++
スター
299
フォーク
43
PR マージ指標
30日以内にマージされた PR はありません

説明

* 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。