Tag: amazon-dynamodb

Inefficient usage of Transaction library from AWS Labs

The AWS Labs Transactions Library is a client-side solution and less efficient compared to DynamoDB native transactions.

AWS DynamoDB getItem output is not null checked

Outputs of AWS DynamoDB's GetItem method are not null checked.

Ignored output of DynamoDBMapper operations

Check if errors are returned by DynamoDBMapper's BatchWrite operations.

Inefficient retrieval of first page of DynamoDB results

Using queryPage followed by getResults to retrieve a single page of results is inefficient.

Dynamo mapper has items rule

The API hasItems returns true if the service returned a value for the Items property.

Complicated DynamoDB query with expression attribute values

Use withHashKeyValues to set one or more hash key values of a DynamoDB query

Preferred DynamoDB GetKeys API not used

use GetKeys API of DynamodbStreamRecord directly

Get records with limit rule

The API GetRecordsRequest.withLimit(limit) returns the number of records that is specified by the limit parameter.