# Let Your AWS Lambdas Survive Thousands of Connections

DevFeed: [Let Your AWS Lambdas Survive Thousands of Connections](<https://devfeed.tech/articles/let-your-aws-lambdas-survive-thousands-of-connections-5808.md>)

Original publisher: [Read original article](<https://neon.com/blog/survive-thousands-connections>)

Author: Andrew Tate

Published: 2024-12-02T18:13:48Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [Amazon Aurora](<https://devfeed.tech/topics/amazon-aurora.md>), [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [Database](<https://devfeed.tech/topics/database.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [database](<https://devfeed.tech/tags/database.md>), [latency](<https://devfeed.tech/tags/latency.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [product](<https://devfeed.tech/tags/product.md>)

## AI overview

The article explains how AWS Lambda's rapid autoscaling can overwhelm database connections, especially with Amazon Aurora Serverless v2. It describes connection pool exhaustion, lingering zombie connections, and cold-start latency, then introduces pooled connections and Amazon RDS Proxy as mitigation approaches.

## Source excerpt

AWS Lambda is pretty awesome. Serverless "Functions as a Service" where you can deploy code without worrying about servers, scaling, or infra. Well, that's the dream. The reality can be a bit nearer earth, especially when Lambda bumps up against other services, say databases. Thi...