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.
[ Parent
| on HN ]
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.
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.