laravel-dynamodb
laravel-dynamodb copied to clipboard
Support Transaction
Since DynamoDB uses HTTP connection model, it's important to keep requests count as few as possible. For example, if we try to maintain "likes" count, we would do:
- Add like if the user didn't liked yet.
- If added, increment the counter.
We can execute them in a single request with Transaction.