Skip to content

Missing documentation in API reference for connection re-use #5383

@ewolz3

Description

@ewolz3

Describe the issue

The API reference for LambdaClient (and the Javascript SDK in general) should make it clear that the default behavior is for a new TCP connection to be created for every new request.

This can lead to issues with high traffic Lambda functions where usage of file descriptors will continue to grow until it hits the cap and then crash. This is documented in the developer guide but is easily missed by someone just using the API reference.

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/

Metadata

Metadata

Assignees

Labels

documentationThis is a problem with documentation.p3This is a minor priority issuequeuedThis issues is on the AWS team's backlog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions