An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![npm](https://img.shields.io/npm/v/@nasa-gcn/dynamodb-autoincrement)](https://www.npmjs.com/package/@nasa-gcn/dynamodb-autoincrement)
[![codecov](https://codecov.io/gh/nasa-gcn/dynamodb-autoincrement/branch/main/graph/badge.svg?token=C84AQR8UAS)](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/