Does Dax support caching multiple DDB tables with the same schema and/or primary key?

0

In my use case, I have two or more DDB tables, with the same schema, that will be accessed via one Dax cluster.

Does Dax include the table information of a cached key in its node? If I cache hit, it only returns data for the table I requested. If I cache miss, it will only overwrite with the data from the table I requested.

I assume yes, given that table is part of the request and response, but there is no documentation that states this explicitly that I could find. The only thing I could find explaining the storage states that they "are stored by their primary key values."

jshuhu
已提問 2 個月前檢視次數 134 次
1 個回答
3
已接受的答案

Yes, DAX keys also contain the table name, which allows it to cache items from different table sharing the same primary key without issue.

profile pictureAWS
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南