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

Question related Connection Pool settings

Aperta
#9 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
67
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.