1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Best practices are similar to what you would do when connecting to another data store: declare the variable holding the connection to the database outside your handler so it can be re-utilized by subsequent invocations of your function.
You can find a good example here: https://docs.atlas.mongodb.com/best-practices-connecting-to-aws-lambda.
respondido hace 5 años
Contenido relevante
- preguntada hace 5 meses
- preguntada hace 2 meses
- preguntada hace 17 días
- preguntada hace 17 días
- OFICIAL DE AWSActualizada hace 3 meses

Only if the function is warm though. Not quite the same as RDS Proxy.