Enum

list-mode

Modes of KV Store list operations.

This type serves to facilitate alternative methods of cache interactions with list operations.

enum list-mode {
  strong,
  eventual,
}

Cases

CaseDescription
strong

Performs an un-cached list on every invocation.

This is the default method of listing.

eventual

Returns a cached list response to improve performance.

The data may be slightly out of sync with the store, but repeated calls are faster.

The word “eventual” here refers to eventual consistency.