3 ms·
I would imagine the use of AWS Lambda might be a pretty decent incentive to use DynamoDB. I'm guessing that stateless DynamoDB queries are faster to fire off th
by ryandvm 9y ago
I would imagine the use of AWS Lambda might be a pretty decent incentive to use DynamoDB. I'm guessing that stateless DynamoDB queries are faster to fire off than dealing with Postgres or MySQL connection setup and teardown.
- TheAceOfHearts 9y agoI'm not familiarized with DynamoDB, but why would connecting to it be any faster than connecting to Postgres or MySQL?
- Something1234 9y agoPerhaps DynamoDB is based around HTTP, rather then requiring socket back and forth actions(uname + pass, auth, query, results vs just a single hit where query + auth details are packed together). Never actually looked at dynamodb, so not sure.
- apetresc 9y agoYes, that is accurate. DB operations to DynamoDB are just AWS API calls, the same as you would use to spin up an EC2 instance or create an S3 bucket.
- solidsnack9000 9y agoLambda keeps the containers running if there's traffic coming to them, so the setup cost isn't paid per request unless there are few requests.