menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Databases

>

Reduce lat...
source image

Amazon

7d

read

66

img
dot

Image Credit: Amazon

Reduce latency and cost in read-heavy applications using Amazon DynamoDB Accelerator

  • Amazon DynamoDB is a fully managed, serverless, NoSQL database that can scale applications at any level.
  • Amazon DynamoDB Accelerator (DAX) is an in-memory cache for DynamoDB that can improve read latency in applications that are heavily read-dominant, like news media sites, ecommerce sites, etc.
  • The article explains how applications can achieve lower read latency with the use of DAX through examples.
  • In the example shared, implementing DAX showed a 19% reduction in latency for GetSingleProduct requests and a 15% decrease in latency for GetListOfProducts requests.
  • DAX maintains an item cache and a query cache that stores read operation data from a DynamoDB table, this allows DAX to return results to an application without looking up DynamoDB.
  • The usage of DAX can also reduce the cost of read operations for DynamoDB tables in read-heavy applications.
  • DynamoDB tables configured in on-demand capacity mode are estimated to cost around $1150 per month, while those in provisioned mode are $474.
  • Using DAX with a provisioned mode table can decrease cost by 21% and by 67% for those using on-demand mode tables.
  • A DAX cluster is charged per node usage by the hour, and its performance depends on the size of the cluster used.
  • DAX can be a cost-effective solution for read-heavy applications that utilize DynamoDB and serve a large user base.

Read Full Article

like

4 Likes

For uninterrupted reading, download the app