Fork me on GitHub
#aws-lambda
<
2017-10-20
>
qqq15:10:18

What is recommended for storing state in lambda? Fro mwhat I read online, SimpleDB / DynamoDb are expensive due to cryptographical auth in REST requests; while RDS has issues with re-usintg db pool.

valtteri15:10:06

What kind of state are we talking about and what kind of access patterns are needed? From my experience DynamoDB is an excellent key-value storage but it’s limited and difficult if you need complex queries.

valtteri15:10:11

If you need SQL then I’d recommend using RDS’s. I don’t have experience using it with Lambda but there seem to be workarounds to deal with the connection pooling.

valtteri15:10:02

I’ve been using S3 and DynamoDB.

qqq23:10:48

I think I'm going to try S3 and DynamoDB too.

qqq23:10:19

I think I can get away with not using SQL queries at all -- and DynamoDB seems less work to manage/configure than RDS.

qqq23:10:40

The provisioned read/write units seemed a bit weird / expensive at first, but I think I can understand it now.