aws-samples / aws-samples/aws-serverless-app-with-aurora-and-python-sql-alchemy-example

Connection init latency

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
67
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Is this not terrible design as the connection is not reused, it is recreated for every lambda invoke? which is going to add at least 50ms to every invoke probably more. I mean the proxy handles the connection pooling so number of connections shouldnt be that big of an issue, but the connection should be "hot" in the init stage should it not?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.