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

Question related Connection Pool settings

Abierto
#9 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
67
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.