News for hackers. Stuff that matters.
Re:Serverless Best Practices by k__ on Sunday September 02, 2018 @05:54PM (#17898890)
From the docs: DynamoDB is a web service, and interactions with it are stateless. Applications do not need to maintain persistent network connections. Instead, interaction with DynamoDB occurs using HTTP(S) requests and responses.
Re:Serverless Best Practices by etaioinshrdlu on Sunday September 02, 2018 @05:56PM (#17898897)
One could, if they wanted, open a new MySQL connection for every statement, which seems similar. One could do this asynchronously in the background too, simulating the eventually consistent nature as well.
Re:Serverless Best Practices by twblalock on Sunday September 02, 2018 @08:31PM (#17899441)
I think the problem with that is the performance would be bad, because the database is not designed to be used thay way and those assumptions go as deep as the way it allocates memory.
Re:Serverless Best Practices by k__ on Sunday September 02, 2018 @05:59PM (#17898912)
True.

Maybe DynamoDB works better with this model, because it is build up without the idea of maintaining connections?