AWS Lambda Best Practices For Connection Pooling #610
Replies: 2 comments 12 replies
-
Would be nice.. I think It'd be best if you could use the certificate they provide https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL.Concepts.General.SSL.html |
Beta Was this translation helpful? Give feedback.
-
I'm looking for advice on using this library with AWS Lambda and PgBouncer. I currently have PgBouncer set to transaction mode, which seems to be the best option for connecting from lambda. Is it safest to create the I see from the docs that it is recommended to set Are there any other settings I need to consider? Sequelize has very detailed documentation on usage with AWS Lambda (https://sequelize.org/docs/v6/other-topics/aws-lambda/) so it might be worth including something similar. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'd like to document AWS Lambda best practices for connections with this library. Based on the article, Handling AWS Lambda database connections I've come up with the following config:
Know a better configuration? Please share!
Beta Was this translation helpful? Give feedback.
All reactions