Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New stack - Dynamodb atomic counter #174

Open
leandrodamascena opened this issue Jan 15, 2021 · 0 comments
Open

New stack - Dynamodb atomic counter #174

leandrodamascena opened this issue Jan 15, 2021 · 0 comments

Comments

@leandrodamascena
Copy link
Contributor

Last month I had to implement a system on a client that uses many incremental keys for many different systems and architectures. The requirements were:
1 - Must be fast
2 - Must be serverless
3 - Must be resilient
4 - It must be cheap
5 - This should ensure that the numbers are not repeated, even with millions of requests.

So, I implemented a solution based on this article [1] and using the CDK.

I hope this stack helps other people

[1] https://itnext.io/simple-atomic-counter-with-dynamodb-and-api-gateway-e72115c209ff

leandrodamascena added a commit to cdktemp/serverless that referenced this issue Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant