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ヶ月前133ビュー
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ