skip to Main Content

Amazon web services – Amazon DynamoDB taking long time to fetch record with high latency up to 5-6 second

pom.xml <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-bom</artifactId> <version>1.11.256</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-dynamodb</artifactId> </dependency> Client Code public static AmazonDynamoDB getDynamoDBClient() { return AmazonDynamoDBClientBuilder.standard().withRegion("ap-southeast-1").build(); } Now i am trying to execute a normal query having few records but it is taking long time…

VIEW QUESTION

How to create DynamoDB table using docker CMD instruction and the AWS CLI inside running container?

Hello have a simple Dockerfile which has to create the DynamoDB tables: FROM amazon/aws-cli AS seed CMD aws dynamodb --endpoint-url http://localhost:8080 create-table --table-name mytable --attribute-definitions AttributeName=user_id,AttributeType=N AttributeName=order_id,AttributeType=N --key-schema AttributeName=user_id,KeyType=HASH AttributeName=order_id,KeyType=RANGE --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 --region eu-west-2 When I'm trying to run it…

VIEW QUESTION
Back To Top
Search