Questions tagged [amazon-dynamodb-dax]

Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB

Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache. DAX does all the heavy lifting required to add in-memory acceleration to DynamoDB tables, without requiring developers to manage cache invalidation, data population, or cluster management. DAX is compatible with existing DynamoDB API calls.

Links :

Product Page

98 questions
11
votes
1 answer

AWS Ultra Low Latency Read/Write Data Store: EFS vs Dynamodb DAX vs ElastiCache

My web application requires extremely low-latency read/write of small data blobs (<10KB) that can be stored as key-value pairs. I am considering DynamoDB (with DAX) and EFS and ElastiCache. AWS claims that they all offer low latency but I cannot…
8
votes
0 answers

DAX Dynamodb context deadline exceeded

My service uses AWS dynamodb with DAX, under high load my requests are failing with this error- "error":"RequestCanceled: request context canceled caused by: context deadline exceeded Any idea on what this error can be attributed to?
7
votes
0 answers

DAX Intermittent No Endpoints Available

Scenario: We have a streaming Java application that is performing read/write requests to DynamoDB via DAX with the most recent DAX client instance. When performing both simple integration tests and performance testing we intermittently see…
user376327
  • 205
  • 1
  • 2
  • 8
7
votes
3 answers

Amazon DAX client throws "No endpoints available" exception

I am trying to connect to DAX from a localhost using the following code: ClientConfig daxConfig = new ClientConfig() .withEndpoints("dax-cluster.yhdqu5.clustercfg.dax.use1.cache.amazonaws.com:8111"); AmazonDaxClient client = new…
Ivan Mushketyk
  • 8,107
  • 7
  • 50
  • 67
6
votes
1 answer

How to properly connect AWS API gateway -> Lambda -> DAX -> DynamoDB?

I had everything working very nicely with a CloudFormation template that created an API Gateway with proxy integrations to Lambda functions, which in turn manipulated various DynamoDB tables. Lately, though, I've started to experience the…
5
votes
2 answers

Aws dax stability issues

I am attempting to introduce DAX to our architecture but so far with no success. Connection to dax happenns through lambdas and the setup done is like the examples in AWS documentation. Lambda and Dax are in the same vpc, they can see each other…
MartinS
  • 126
  • 9
5
votes
3 answers

How does invalidation work in AWS DynamoDB DAX multi-region

We are using DynamoDB global tables and planning to use DAX on the top of DynamoDB to enable caching. But I don't see any mention of how DAX invalidation will take place in multi-region setup. For example, let's say there are 2 clusters, one in…
5
votes
1 answer

DynamoDB DAX and High Availability

What's your preferred strategy for dealing with DAX's maintenance windows? DynamoDB itself has no MWs and is very highly available. When DAX is introduced into the mix, if it's the sole access point of clients to DDB then it becomes a SPOF. How do…
Assaf Lavie
  • 73,079
  • 34
  • 148
  • 203
5
votes
2 answers

AWS CloudFormation conditional template validation

I have a template to create a CloudFormation with DynamoDB and DAX for multiple regions, for example, us-east-1 and ap-southeast-1. While working for us-east-1, this template would not work for ap-southeast-1 since DAX is not yet available for that…
Enigo
  • 3,685
  • 5
  • 29
  • 54
5
votes
2 answers

Using AWS DynamoDB DAX from local development machine

I'm trying out the DAX client for my application currently using DynamoDB and found out it's only supported within a VPC. The DAX endpoint is in the 172.31.x.y range. Does this mean it's impossible to test DAX features from my local development…
JHH
  • 8,567
  • 8
  • 47
  • 91
4
votes
0 answers

Dax cache performance issue when bombard with multiple requests

I am working on a an api which will get lot of hits so that, I cached it. Each call will have a set of ids which needs to be passed in the request itself and I cant use batch to get the items due to design issues. So I am calling get operation…
NIKHIL C M
  • 3,873
  • 2
  • 28
  • 35
4
votes
1 answer

Is DynamoDB DAX Horizontally scalable?

What I want to ask is, when we add more nodes to DynamoDB DAX cluster it will distribute the data across nodes and cache capacity will be equal to (number of nodes*node capacity) or more nodes are for availability and load distribution only with…
4
votes
2 answers

DAX object cache and query cache get out of sync; no way to tell query cache to evict bad data?

According to the DynamoDB DAX documentation, DAX maintains two separate caches: one for objects and one for queries. Which is OK, I guess. Trouble is, if you change an object and the changed value of the object should impact a value stored in the…
Eli
  • 227
  • 1
  • 3
  • 11
4
votes
2 answers

Getting failed to configure cluster endpoints error when using DAX with DynamoDB

I created a cluster according to AWS' tutorials and it supposed to be working just fine but when I try to connect to it, I get the following error java.io.IOException: failed to configure cluster endpoints from hosts:…
3
votes
1 answer

How to log errors and retries using AWS SDK Golang

I want to log only error request and retries request/response. I tried using cfg := dax.DefaultConfig() cfg.HostPorts = []string{daxConfig.URL} cfg.Region = daxConfig.Region cfg.LogLevel =…
1
2 3 4 5 6 7