I have just started learning about using DAX for DynamoDB. While the architecture is clear - no where during the setup of DAX did I find it point to a DynamoDB cluster in its setup. How does DAX know which DynamoDB table to connect if all we're providing from the client is the DAX endpoint?
CodePudding user response:
DAX has same interface as using regular AWS SDK to work with DynamoDB.
So, just like when you query regular DynamoDB, you specify table at each query. For example, in python:
# dyn_resource will be reference to your DAX cluster
table = dyn_resource.Table('TryDaxTable')
table.get_item(...)