https://github.com/nasa-gcn/dynamodb-autoincrement
Use optimistic locking to put DynamoDB records with auto-incrementing attributes
https://github.com/nasa-gcn/dynamodb-autoincrement
autoincrement concurrency dynamodb javascript typescript
Last synced: about 1 year ago
JSON representation
Use optimistic locking to put DynamoDB records with auto-incrementing attributes
- Host: GitHub
- URL: https://github.com/nasa-gcn/dynamodb-autoincrement
- Owner: nasa-gcn
- License: other
- Created: 2023-01-02T23:27:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T02:04:07.000Z (about 1 year ago)
- Last Synced: 2025-04-08T02:37:29.887Z (about 1 year ago)
- Topics: autoincrement, concurrency, dynamodb, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 593 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@nasa-gcn/dynamodb-autoincrement)
[](https://codecov.io/gh/nasa-gcn/dynamodb-autoincrement)
# dynamodb-autoincrement
Use optimistic locking to put DynamoDB records with auto-incrementing attributes. Inspired by:
- https://aws.amazon.com/blogs/aws/new-amazon-dynamodb-transactions/
- https://bitesizedserverless.com/bite/reliable-auto-increments-in-dynamodb/