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
preguntada hace 2 meses134 visualizaciones
1 Respuesta
3
Respuesta aceptada

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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas