title: How to get sub 10ms response times from AWS DynamoDB?
body: <p>In the DynamoDB documentation and in many places around the internet I've seen that single digit ms response times are typical, but I cannot seem to achieve that even with the simplest setup.  I have configured a t2.micro ec2 instance and a DynamoDB table, both in us-west-2, and when running the command below from the aws cli on the ec2 instance I get responses averaging about 250 ms.  The same command run from my local machine (Denver) averages about 700 ms.</p>
  
  <pre><code>aws dynamodb get-item --table-name my-table --key file://key.json
  </code></pre>
  
  <p>When looking at the CloudWatch metrics in the AWS console it says the average get latency is 12 ms though.  If anyone could tell me what I'm doing wrong or point me in the direction of information where I can solve this on my own I would really appreciate it.  Thanks in advance.</p>