supertokens-core
supertokens-core copied to clipboard
DynamoDB integration
🚀 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
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.
This might be relevant, Distributed Locks with the DynamoDB Lock Client page at AWS blog.
This would be fantastic. Any existing plans on looking investigating such an integration?
Not yet @dforsl