aws-lambda

qqq 2017-10-20T15:10:18.000424Z

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.

valtteri 2017-10-20T15:40:06.000509Z

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.

valtteri 2017-10-20T15:47:11.000391Z

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.

valtteri 2017-10-20T15:48:02.000259Z

I’ve been using S3 and DynamoDB.

qqq 2017-10-20T23:20:48.000216Z

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

qqq 2017-10-20T23:21:19.000192Z

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

qqq 2017-10-20T23:21:40.000104Z

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