AWS DynamoDB getitem takes nearly 3 seconds for some callsDynamoDB query() versus getItem() for single-item retrieval based on the indexdynamodb node aws-sdk simple getItem() callDynamoDB GetItemResult GetItem for multiple itemsDynamoDB - GetItem request not workingAWS API request rate limitsAWS EC2 t2.micro boxes sending 503 errorHow to get sub 10ms response times from AWS DynamoDB?GetItem from Secondary Index with DynamoDBDynamodb alexa query not calling data itemdynamodb getitem android

Will copper pour help on my single-layer PCB?

Why does airflow separate from the wing during stall?

What's the physical meaning of the statement that "photons don't have positions"?

What's a German word for »Sandbagger«?

Date input format problem

Aren't all schwa sounds literally /ø/?

Can a crisscrossed metallic skeleton resist earthquakes for buildings?

What does Windows' "Tuning up Application Start" do?

Infinite points on circle

When will the last unambiguous evidence of mankind disappear?

What does "play in traffic" mean?

Linux ext4 restore file and directory access rights after bad backup/restore

How does the Gameboy's memory bank switching work?

Has anyone ever written a novel or short story composed of only dialogue?

Why should fork() have been designed to return a file descriptor?

Is art a form of communication?

Alignment problem with a mathematical equation in a presentation in beamer

Another "name-that-distribution" question

why neutral does not shock. how can a neutral be neutral in ac current?

What is the minimum wait before I may I re-enter the USA after a 90 day visit on the Visa B-2 Program?

Can a creature sustain itself by eating its own severed body parts?

Will a ThunderBolt 3 (USB-C?) to ThunderBolt 2 cable allow me to use a MacBook Pro as second monitor?

Who was the first person in space to "be on TV"?

Host telling me to cancel my booking in exchange for a discount?



AWS DynamoDB getitem takes nearly 3 seconds for some calls


DynamoDB query() versus getItem() for single-item retrieval based on the indexdynamodb node aws-sdk simple getItem() callDynamoDB GetItemResult GetItem for multiple itemsDynamoDB - GetItem request not workingAWS API request rate limitsAWS EC2 t2.micro boxes sending 503 errorHow to get sub 10ms response times from AWS DynamoDB?GetItem from Secondary Index with DynamoDBDynamodb alexa query not calling data itemdynamodb getitem android






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















As part of my project requirement, I am using AWS DynamoDB for caching and as an initial configuration I have configured our read/write units as 5 each and autoscale enabled till 40K. It was working perfectly fine in initial days and I was getting cache response time in 2 digits. But when I increased the traffic, response time started spiking till 3seconds at times. But when i checked cloud watch, read was not showing beyond the border(5). When i checked latency in cloud watch, i was not able to find any value more than 100ms. Can you please look in to the issue and provide a solution for my problem? The surprising thing is that the response time hikes are reaching till 3 seconds only for 99% times.



Expected results: Response time always in 2 digits.










share|improve this question






















  • can you please share aws console screenshots, otherwise there is nothing much to debug here :P

    – best wishes
    Mar 26 at 13:24











  • CloudWatch will show an average metric over a period of time, but requests might be spiking higher for short periods. I would recommend temporarily increasing the Read Capacity Units just to check if this fixes things. Very little cost involved for such a test.

    – John Rotenstein
    Mar 27 at 2:14

















1















As part of my project requirement, I am using AWS DynamoDB for caching and as an initial configuration I have configured our read/write units as 5 each and autoscale enabled till 40K. It was working perfectly fine in initial days and I was getting cache response time in 2 digits. But when I increased the traffic, response time started spiking till 3seconds at times. But when i checked cloud watch, read was not showing beyond the border(5). When i checked latency in cloud watch, i was not able to find any value more than 100ms. Can you please look in to the issue and provide a solution for my problem? The surprising thing is that the response time hikes are reaching till 3 seconds only for 99% times.



Expected results: Response time always in 2 digits.










share|improve this question






















  • can you please share aws console screenshots, otherwise there is nothing much to debug here :P

    – best wishes
    Mar 26 at 13:24











  • CloudWatch will show an average metric over a period of time, but requests might be spiking higher for short periods. I would recommend temporarily increasing the Read Capacity Units just to check if this fixes things. Very little cost involved for such a test.

    – John Rotenstein
    Mar 27 at 2:14













1












1








1








As part of my project requirement, I am using AWS DynamoDB for caching and as an initial configuration I have configured our read/write units as 5 each and autoscale enabled till 40K. It was working perfectly fine in initial days and I was getting cache response time in 2 digits. But when I increased the traffic, response time started spiking till 3seconds at times. But when i checked cloud watch, read was not showing beyond the border(5). When i checked latency in cloud watch, i was not able to find any value more than 100ms. Can you please look in to the issue and provide a solution for my problem? The surprising thing is that the response time hikes are reaching till 3 seconds only for 99% times.



Expected results: Response time always in 2 digits.










share|improve this question














As part of my project requirement, I am using AWS DynamoDB for caching and as an initial configuration I have configured our read/write units as 5 each and autoscale enabled till 40K. It was working perfectly fine in initial days and I was getting cache response time in 2 digits. But when I increased the traffic, response time started spiking till 3seconds at times. But when i checked cloud watch, read was not showing beyond the border(5). When i checked latency in cloud watch, i was not able to find any value more than 100ms. Can you please look in to the issue and provide a solution for my problem? The surprising thing is that the response time hikes are reaching till 3 seconds only for 99% times.



Expected results: Response time always in 2 digits.







java amazon-web-services amazon-dynamodb






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 26 at 12:27









Joseph JohnyJoseph Johny

62 bronze badges




62 bronze badges












  • can you please share aws console screenshots, otherwise there is nothing much to debug here :P

    – best wishes
    Mar 26 at 13:24











  • CloudWatch will show an average metric over a period of time, but requests might be spiking higher for short periods. I would recommend temporarily increasing the Read Capacity Units just to check if this fixes things. Very little cost involved for such a test.

    – John Rotenstein
    Mar 27 at 2:14

















  • can you please share aws console screenshots, otherwise there is nothing much to debug here :P

    – best wishes
    Mar 26 at 13:24











  • CloudWatch will show an average metric over a period of time, but requests might be spiking higher for short periods. I would recommend temporarily increasing the Read Capacity Units just to check if this fixes things. Very little cost involved for such a test.

    – John Rotenstein
    Mar 27 at 2:14
















can you please share aws console screenshots, otherwise there is nothing much to debug here :P

– best wishes
Mar 26 at 13:24





can you please share aws console screenshots, otherwise there is nothing much to debug here :P

– best wishes
Mar 26 at 13:24













CloudWatch will show an average metric over a period of time, but requests might be spiking higher for short periods. I would recommend temporarily increasing the Read Capacity Units just to check if this fixes things. Very little cost involved for such a test.

– John Rotenstein
Mar 27 at 2:14





CloudWatch will show an average metric over a period of time, but requests might be spiking higher for short periods. I would recommend temporarily increasing the Read Capacity Units just to check if this fixes things. Very little cost involved for such a test.

– John Rotenstein
Mar 27 at 2:14












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55357164%2faws-dynamodb-getitem-takes-nearly-3-seconds-for-some-calls%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55357164%2faws-dynamodb-getitem-takes-nearly-3-seconds-for-some-calls%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript