You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a new lambda from the console with node 18.x, and by default the init duration is 200ms
but when i add a dynamo import, increase to 500ms, is this normal or i'm doing something wrong.
I tested with 128mb of memory and 512mb, with the same result
import{DynamoDBClient,GetItemCommand,QueryCommand,ExecuteStatementCommand,BatchGetItemCommand,}from'@aws-sdk/client-dynamodb';import{unmarshall,marshall}from'@aws-sdk/util-dynamodb';exportconsthandler=(event)=>{// TODO implementconstresponse={statusCode: 200,body: JSON.stringify('Hello from Lambda!'),};returnresponse;};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just created a new lambda from the console with node 18.x, and by default the init duration is
200ms
but when i add a dynamo import, increase to
500ms
, is this normal or i'm doing something wrong.I tested with 128mb of memory and 512mb, with the same result
Beta Was this translation helpful? Give feedback.
All reactions