Design High-Performing Architectures
An AWS Lambda application uses Amazon RDS for PostgreSQL. Bursts of concurrent invocations exhaust database connections, although query CPU usage remains low. Which architecture change BEST addresses this problem?
Show the answer
Correct answerB. Place Amazon RDS Proxy between Lambda and the database
AWhy not this: Additional storage and IOPS address storage capacity or I/O limits, not connection exhaustion.
BWhy this is right: RDS Proxy pools database connections and reuses them across application connections.
CWhy not this: A Multi-AZ DB instance standby provides availability rather than connection pooling.
DWhy not this: Caching can reduce database reads but does not directly solve excessive database connections.
RDS Proxy pools and reuses database connections, helping absorb bursts of Lambda connections. ElastiCache can reduce repeated reads, but it does not directly manage the application's database connection pool.