Sunday, 1 September 2013

How to increase DynamoDB performance on client?

How to increase DynamoDB performance on client?

I'm using Amazon Java SDK Client for DynamoDB and latency is about 100ms
min and 256ms on average on GetItem for wide spread of keys. In cloudwatch
it is about 8-10ms.
I've tried to start new AmazonDynamoDBClient for each thread with
threadlocal hoping it is in some caches. I've tried to switch to
STSSessionCredentialsProvider from BasicAWSCredentials hopping token
security check is faster. But still I have same very high latency on both
EC2 instance and office.
What can cause such latency on client?

No comments:

Post a Comment