Metadata Collection Strategy

What do we care about?

  1. If it hit the backend, did it come from the primary or the replica?
  2. Did we need to consult the backing layer or not?

This can be accomplished by having nothing (never) as the metadata type for the lookup layers, and {isReadReplica: true} as the metadata type for the backing layer.


uid: 202206221704 tags: #archived


Date
February 22, 2023