Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for AWS RDS Proxy and Connection Pooling Optimization
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[DB_ENGINE] - ✦
[MAX_CONCURRENT_INVOCATIONS] - ✦
[CONNECTION_LOGS]
lambda-rds-proxy-connection-pooling.txt
Evaluate the database connection overhead for a Lambda function interacting with [DB_ENGINE]. Based on [MAX_CONCURRENT_INVOCATIONS] and [CONNECTION_LOGS], determine if the 'zombie connection' issue is driving up execution time. Design a strategy for implementing RDS Proxy or an internal connection pooling logic that persists across execution environments. Quantify the reduction in execution time achieved by eliminating connection handshake latency in every invocation.
Example Output
"The AI would propose an RDS Proxy configuration and provide code snippets for singleton pattern connection management in the Lambda global scope."