John
02/25/2022, 8:33 PMdata-api-client
npm package to handle the requests and connection to the DB. I'm getting some timeouts when using this - Failed to send response because the Lambda function is disconnected
I'm wondering can I use the AWS SDK RDS Data Client package instead - https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds-data/index.html#aws-sdkclient-rds-data?Noah D
02/26/2022, 2:14 AMNoah D
02/26/2022, 2:18 AMautoPause
functionality where it pauses if it isn't being used (see more). And there is likely a startup time for the db which exceeds the lambda timeout length. I personally only notice the error you mentioned if i am running a function for the first time when debugging etc, and that shouldn't be an issue in prod etc since you would want to turn autopause off for those environments. But would be curious to know if you have noticed it in more places.John
02/26/2022, 4:38 PMsst start
too, I'm new to SST and Aurora but if I see this issue happening elsewhere I'll let you know.
Thanks.Frank
Frank
sst start
to warm up the cluster? What’d be a good dummy query?thdxr
02/27/2022, 3:31 PMJay
Frank
John
03/02/2022, 9:25 PM