Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

DAX Cluster – How does it know which DynamoDB Table to talk to?

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?

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

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(...)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading