Questions tagged [amazon-dynamodb-dax]
Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB
amazon-dynamodb-dax
101
questions
0
votes
0
answers
56
views
In DynamoDB single-table design, should the shard lookup be in a separate table?
I'm trying to design a multi-tenant single-table in Dynamodb. My primary key needs to be the tenantId for all items so that I can enforce tenant isolation. The PK potentially faces hotkey issues due ...
0
votes
1
answer
145
views
What is the difference between "amazon-dax-client" and "@aws-sdk/client-dax"?
Can either of them be used to configure dax client and perform operations on it?
I wasn't able to use "@aws-sdk/client-dax" to configure client and perform getItem command.
const { DAXClient,...
1
vote
0
answers
53
views
HTypeError: unhashable type: 'collections.OrderedDict' issue in amazon-dax-client==2.0.0
I am facing TypeError: unhashable type: 'collections.OrderedDict' while getting data from DAX client.
Version - amazon-dax-client==2.0.0 , python 3.8.7
please find this stacktrace:
GetItemIssue, ...
1
vote
1
answer
153
views
Error: "No matching method getItem found taking 1 args for class com.amazonaws.services.dax.AmazonDaxClient"
I'm facing an issue while working with the com.amazonaws.services.dax.AmazonDaxClient class in my Clojure code. The error message I'm receiving is:
No matching method getItem found taking 1 args for ...
1
vote
0
answers
152
views
DynamoDb dax connection issue hadle exception in Node JS
How we can handle exception getting from Dynamo Db DAX client in nodejs.I am using amazon-dax-client library.Also I want to redirect my request to Dynamo Db client if in case DAX Connection fails.
...
1
vote
1
answer
269
views
Can we change Target DynamoDB table for a DAX cluster?
We have a service that retrieves data from DynamoDB. Every day, we create a new DynamoDB table, created from scratch by pulling the latest data from downstream data sources.
Compared to the previous ...
2
votes
5
answers
2k
views
AWS Lambda function returns 403 ERROR The request could not be satisfied when sending a scan command to dynamodb
I am attempting to send a Scan command to DynamoDB via API Gateway and a Lambda function written in Javascript (ES6 formatting). Every time I do so, I get 403 ERROR The request could not be satisfied. ...
1
vote
1
answer
431
views
Update Node Type of DAX Cluster without downtime
We have two spring boot applications which is accessing dax cluster using the software.amazon.dax:amazon-dax-client java client.
This is how I am building the dax client. Using the cluster URL.
I have ...
1
vote
0
answers
163
views
Lambda(Serverless Framework) + DynamoDB Accelerator(DAX): App can not connect
i created my app using AWS(API Gateway/Lambda/DynamoDB).
but loading speed of the app is too late.
so, i want to improve the loading speed using DynamoDB DAX(cache).
serverless.yml
service: myapp
...
4
votes
1
answer
626
views
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
...
1
vote
0
answers
600
views
Dynamodb context deadline exceeded through Spark Batch jobs
My spark job accessing AWS dynamodb, under high load shows this error:
ERROR: Failed to refresh endpoint : RequestCanceled: request context canceled
caused by: context deadline exceeded
Any idea ...
0
votes
1
answer
50
views
What does l6fzcv stand for in DynamoDB DAX cluster endpoint?
When reading DynamoDB DAX documentation - https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.concepts.cluster.html
I noticed random alphanumeric character being used in the cluster ...
0
votes
1
answer
130
views
ResponseMetadata not provided by AWS DAX queries
I have been using DAX on top of my DynamoDB queries.
I will write Lambda functions and test them locally. However I can only use DAX in a VPC so as far as I can tell I cannot use DAX locally. To get ...
1
vote
0
answers
114
views
Java DAX client dependency throws "com.amazonaws:aws-java-sdk-dynamodb:pom:1.11 was not found" error
I am trying to implement a POC on DAX with DynamoDB. What is the correct DAX java client dependency I need to use ?
Examples refer to
<dependency>
<groupId>com....
0
votes
1
answer
311
views
DAX: "Client does not have permission to invoke BatchGetItem" even though IAM roles are set to full access
I have a some Dynamo DB tables, and a DAX cluster sitting above this to cache queries and results. It works great except for when I use BatchGetItem.
[ERROR] DaxServiceError: An error occurred (...