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

Connection init latency

Aperta
#7 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
67
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.