QuestionQ92

VerifiedTroubleshooting and Optimization

A developer has created an AWS Lambda function that makes queries to an Amazon Aurora MySQL DB instance. When the developer performs a test, the DB instance shows an error for too many connections.

Which solution will meet these requirements with the LEAST operational effort?

Explanation

Amazon RDS Proxy pools database connections between Lambda functions and the Aurora MySQL instance, solving the connection exhaustion issue with minimal operational overhead. RDS Proxy transparently manages connection reuse and reduces connection churn. Read replicas do not solve connection exhaustion, migrating to DynamoDB abandons the existing database, and Multi-AZ does not address connection pooling.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!