Having a microservices architecture, multiple services speak to my PostgresSQL database. If I now want to deploy parts of my application as AWS Lambda functions, how can I avoid running out of connections?
Reading a couple of articles [1], [2], [3] I realized PgBouncer may be a good fit for my microservice architecture.
Do I need a "microservice" in front of my database? How to set this up with AWS Lambda?