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

Connection init latency

Offen
#7 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
67
Forks
16
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.