AWS DynamoDB - Introduction to DynamoDB Accelerator (DAX)
Last Updated :
28 Mar, 2023
DynamoDB is a fast NoSQL Database that is managed by Amazon Web Services (AWS). It was developed by Amazon Web Services (AWB). DynamoDB is sometimes referred to as a key-value store, but it also has Streams, Global and Local Secondary Indexes, Multi-region and Multimaster replication with enterprise-grade security, and in-memory caching for large scale. Because it uses a pay-per-use basis and interfaces well with AWS Lambda and other AWS services, DynamoDB is an excellent choice for Serverless apps.
Amazon DynamoDB Accelerator (DAX)
The Amazon DynamoDB Accelerator (DAX) is a fully managed, highly accessible in-memory cache for Amazon DynamoDB that improves performance by up to ten times—from milliseconds to microseconds—even when millions of requests per second are made.
DAX takes care of all the heavy lifting when it comes to adding in-memory acceleration to DynamoDB tables, so developers don't have to worry about cache invalidation, data populating, or cluster management.
You can now concentrate on creating fantastic applications for your customers without having to worry about scalability. Because DAX is compatible with existing DynamoDB API calls, you won't have to change your application logic.
How does DAX work?
DAX is built to work in an Amazon Virtual Private Cloud (Amazon VPC). Amazon VPC defines a virtual network that strongly resembles a conventional data center. A VPC's IP address range, subnets, routing tables, network gateways, and security settings are all within your control. Using Amazon VPC security groups, you may build a DAX cluster on your virtual network and control access to it.
The following diagram shows a high-level overview of DAX.

Advantages of Using DAX:
- Extreme performance: Although, DynamoDB guarantees continuous single-digit millisecond latency, DynamoDB + DAX takes speed to the next level with response times in microseconds for millions of requests per second for read-heavy applications. Even when a big event or news item brings enormous request volumes your way, DAX keeps your applications quick and responsive. There's no need to tune anything.
- Highly scalable: You don't have to choose between performance and scalability with DynamoDB + DAX. DAX allows you to scale up and down as needed. Starting with a three-node DAX cluster, you can expand capacity by adding more nodes. You can expand out to a 11-node cluster (the primary node plus and maximum10 read replicas) using DAX, allowing you to handle millions of queries per second.
- Fully managed: DAX, like DynamoDB, is completely managed. As you scale, you won't have to worry about tasks like hardware or software provisioning, setup, and configuration, software patching, running a distributed cache cluster or replicating data across numerous instances. Many basic administration duties, like failure detection, recovery, and software patching, are automated with DAX.
- Ease of use: DAX and DynamoDB are tightly linked, so all you have to do is provision a DAX cluster, use the DAX client SDK to point your existing DynamoDB API calls at the DAX cluster, and DAX will take care of the rest. You won't need to update any functional application code because DAX is API compatible with DynamoDB. To increase performance, DAX handles the heavy labor behind the scenes. Additionally, because retrieving cached data reduces read stress on current DynamoDB tables, you may be able to reduce their provisioned read capacity and cut down overall operational costs.
- Flexible: To provide you the most flexibility, DAX allows you to provision one DAX cluster for several DynamoDB tables, many DAX clusters for a single DynamoDB table, or somewhere in between.
- Secure: To improve security, DAX fully connects with AWS services. You may use Amazon Identity and Access Management (IAM) to provide each user their own set of security credentials and manage their access to services and resources. You may also use Amazon CloudWatch to monitor resource use, application performance, and operational health across your entire system. AWS CloudTrail integration allows you to simply log and audit changes to your cluster setup. For secure and quick access from your existing apps, DAX supports Amazon VPC. Tagging provides you more visibility into your DAX clusters, making it easier to manage them.
Similar Reads
Amazon DynamoDB - Ways of Protecting Data in DynamoDB Amazon DynamoDB is a totally managed (âserverlessâ) and NoSQL (nonrelational) database provider, available on Amazon Web Services. DynamoDB is surprisingly scalable, which means you can start actually small and grow very big while not having to re-installation or re-architect. It additionally offers
10 min read
Introduction to Apache Cassandra Cassandra is a distributed database management system which is open source with wide column store, NoSQL database to handle large amount of data across many commodity servers which provides high availability with no single point of failure. It is written in Java and developed by Apache Software Foun
3 min read
Introduction to Azure Cosmos DB CosmosDB is a NoSQL database by Azure. In this article, We'll discuss high-level horizontal scaling, replication, partitioning, and database schema. And then we'll dive into some of the data models that Cosmos DB supports. So, let's get started. Applications used to be relatively simple. We would ha
5 min read
AWS DynamoDB - Introduction to NoSQL Workbench This article intends to introduce you to the basics of NoSQL Workbench. NoSQL is basically a nonrelational database, with numerous other extra advantages too. NoSQL Workbench is nothing but a virtual development as well as a testing environment for developers anywhere in the world. It allows its use
2 min read
Amazon DynamoDB - Logging & Monitoring DynamoDB Logging is the collection of all the data from cloud services, infrastructure, and applications. It helps in identifying issues, measure performance, and configurations. Whereas monitoring is helpful to detect possible breaches, security gaps and secure the network well before the attack happens. If
2 min read
DynamoDB - Introduction DynamoDB allows users to create databases capable of storing and retrieving any amount of data and comes in handy while serving any amount of traffic. It dynamically manages each customer's requests and provides high performance by automatically distributing data and traffic over servers. It is a fu
3 min read
AWS DynamoDB - Write Data to a Table In this article, we will write data to a table in DynamoDB. DynamoDB is a NoSQL database that supports semi-structured data i.e. key-value and document data structures. A DynamoDB table contains items. An item is a collection of attributes and each item has a primary key that should be not null. Als
2 min read
DynamoDB Dynamo: AWS CLI Commands for NoSQL Database As we know, there are three main ways to access and manage AWS services, AWS CLI (command line interface), the AWS Management Console, and the AWS SDK(Software (software kit). Here we are working with the first tool, which is AWS CLI (command line interface) which is basically used for interacting w
7 min read
AWS DynamoDB - Read Data from a Table AWS DynamoDB is a NoSQL managed database that stores semi-structured data i.e. key-value and document data. It stores data in form of an item. An item consists of attributes. Upon table creation in DynamoDB, it only requires a primary key to differentiate between items and no schema is to be defined
3 min read
AWS DynamoDB - Insert Data Using AWS Lambda In this article, we will look into the process of inserting data into a DynamoDB table using AWS Lambda. Amazon DynamoDB is a completely owned NoSQL proprietary provider that helps key-value and textual statistics systems and is supplied via way of means of Amazon.com as a part of Amazon Web Service
3 min read