3 ms·
I don't get the difference particularly... You have to open a tcp connection to talk to dynamodb, right?
by etaioinshrdlu 8y ago
I don't get the difference particularly... You have to open a tcp connection to talk to dynamodb, right?
- k__ 8y agoFrom 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.
- etaioinshrdlu 8y agoOne 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.
- k__ 8y agoTrue. Maybe DynamoDB works better with this model, because it is build up without the idea of maintaining connections?
- twblalock 8y agoI 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.
- idunno246 8y agoThere’s many frontend servers to Dynamodb. Effectively the http endpoints are a connection pool to the actual backing datastore