aws-samples / aws-samples/aws-serverless-app-with-aurora-and-python-sql-alchemy-example

Question related Connection Pool settings

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

説明

Hey 👋

I saw that you used Pool Size = 1 and max overflow = 0

return create_engine(db_conn_string,
echo=debug_mode,
pool_size=1,
max_overflow=0,
pool_recycle=3600,
pool_pre_ping=True,
pool_use_lifo=True)

Was this by intention because of the RDS Proxy?
Could you explain why not a higher Pool Size was used as the RDS Proxy is handling the Connections anyway?

Would love to hear your reasons because I want to run this kind of setup for a productive use case.

Best regards

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

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

評価

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

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

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