supertokens-core icon indicating copy to clipboard operation
supertokens-core copied to clipboard

DynamoDB integration

Open taijuten opened this issue 2 years ago • 4 comments

🚀 Feature

Currently ST-core integrates with MySQL, PostgreSQL and MongoDB. Whilst each of these are great, for Serverless implementations which intend to reduce the redundant infrastructure and cost, DynamoDB would be advantageous as it would result in negligible cost outside of usage periods.

Implementation details

Very similar to the MongoDB implementation

taijuten avatar Jul 25 '21 20:07 taijuten

We don't support MongoDB for login yet (only for sessions) - the main reason is that we still need to figure out how to do distributed locking with NoSQL databases since those would be needed to enforce correctness.

So this might take a while.

rishabhpoddar avatar Jul 25 '21 20:07 rishabhpoddar

This might be relevant, Distributed Locks with the DynamoDB Lock Client page at AWS blog.

jgupta avatar Mar 04 '22 11:03 jgupta

This would be fantastic. Any existing plans on looking investigating such an integration?

dforsl avatar Nov 19 '22 12:11 dforsl

Not yet @dforsl

rishabhpoddar avatar Nov 19 '22 12:11 rishabhpoddar