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
1
vote
0 answers

AWS DaxServiceException - DAX Connection is getting expired after some time

I am using a kubernetes service account to pass the DAX role to the spring boot application which is connecting to DAX cluster. For about 40 minutes, the service is able to connect to DAX and retrieve the response from DynamoDB tables. However I am…
1
vote
1 answer

Using PartiQL with DAX for DYnamoDB

If we use only PartiQL for Dynamodb calls, do the calls get automatically routed via DAX because we are using DAX cache also in front of some of our tables. Basically how to use PartiQL along with DAX Thanks
Samar
  • 2,091
  • 1
  • 15
  • 18
1
vote
0 answers

During Dax Reboot, facing error : Endpoint is unreachable:. Client network socket disconnected before secure TLS connection was established

Below is a stacktrace client network socket disconnected before secure TLS connection was established" Error: Endpoint is unreachable: 10.213.1.120:9111. Client network socket disconnected before secure TLS connection was established at…
abhs50
  • 11
  • 2
1
vote
1 answer

DynamoDB Accelerator (DAX) cluster design: Per table cluster OR a single unified cluster?

We're having hundreds of DynamoDB tables. For the performance optimization, we're going to use DynamoDB Accelerator (DAX). While exploring DAX, I came across two approaches. A unified cache cluster, that can be used for all DynamoDB tables Separate…
Tejaskumar
  • 754
  • 8
  • 24
1
vote
2 answers

Random Sampling of size N in Dynamo DB without full Table scan

I am new to dynamodb & was having some trouble in finding a way to randomly getting items without a full table scan ,most of the algorithms that i found consist of full table scans I am also taking the case where we don’t have additional information…
1
vote
0 answers

AWS dynamo DB item write issue

I am connecting to AWS dynamodb using DAX service. While querying data from the DAX I face no issues and I am able to get the data. But when I try to insert new Items to DynameDB using DAX I am getting below error. An error occurred(Unknown) when…
1
vote
0 answers

Your request is prohibited because the request is on loopback from external IP

Getting this error when trying to save entity in local dynamodb ,i am running my application also locally .My all request are routed through a proxy which i can't disable due to organisation policy .Is there any way to avoid this error…
1
vote
1 answer

Connect AWS Dax Client to localstack DynamoDB?

I am attempting to use the AWS DaxClient to connect to a localstack setup running DynamoDB. I start localstack from the docker-compose file in their github repo here. Then I try creating a Dax Client in Java code and pointing it to that public class…
alex
  • 1,905
  • 26
  • 51
1
vote
1 answer

DAX doesn't get cache hits when used with DynamoDBMapper

I'm using DAX client along with DyanamoDBMapper. I'm using the following dependencies. com.amazonaws aws-java-sdk-dynamodb
sldon
  • 31
  • 4
1
vote
1 answer

dynamodb caching subsequent results

Is there any mechanism or buildin feature inside dynamodb where subsequent dynamodb query/scan calls with same request(key) can be cached? eg: If i make a query call to dynamodb for first time for key k1 and fetches the result r1 in t1 ms. will the…
1
vote
1 answer

How To Connect AWS Lambda to DAX?

I am using AWS API gateway, Lambda services, and DynamoDB for my application. I wish to use DynamoDB Accelerator(DAX) to increase the performance. The documents are telling to create a DAX cluster, and a VPC and add both DAX cluster and lambda to…
1
vote
1 answer

AWS DynamoDB DAX "NoRouteException"

i tried to connect to my DAX cluster from my node js app per the steps given in the example. I get the following error while connecting to the client. { "time": 1581671435720, "code": "NoRouteException", "retryable": true, …
1
vote
1 answer

Can't connect to DAX from EC2 instance in same VPC

I'm in my EC2 instance in the same VPC as my DAX cluster....the cluster's SG is default (allow all) and I still can't connect Here's an abbreviated code sample: from amazondax import AmazonDaxClient dax = AmazonDaxClient( …
Mark Richman
  • 28,948
  • 25
  • 99
  • 159
1
vote
0 answers

Amazon dax client not working as per TTL set on the item

I have setup Dynamodb table and using it for caching purposes, I have dax client setup as well and writing and reading using node.js's amazon-dax-client. DAX client is not obeying the ttl set on the item. Here is the configuration of the table, You…
1
vote
1 answer

Do I need a sort key or should I use AWS DAX

I have a dilemma and I know I should of used an SQL DB from the beginning. I am unsure if I can use a sort key for my particular use case. I have a table that contains multiple attributes brand, model ref, reference... What I am trying to do is let…
Joe Hill
  • 11
  • 5