Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Page-level consistency

Vinay Rawal answered on March 11, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


Page-level consistency

0

No duplicate entry example

Retrieve page N; the last resource on page N is resource with ID X.

A new resource with ID Y, matching the List filters, is created.

Retrieve page N+1; resource with ID X will not display on page N+1.

If the List endpoint offers best-effort consistency guarantee, resource with ID X may display again on page N+1.

No missing entry example

Retrieve page N; the last resource displayed on page N is resource with ID X.

If page N+1 is retrieved at this time, the first resource on page N+1 has ID Y.

Resource with ID X is updated and no longer matches the List filters.

Retrieve page N+1; Resource with ID Y will display on page N+1.

If the List endpoint offers best-effort consistency guarantee, resource with ID Y may not display on page N+1.

No snapshot view example

Retrieve page N at time t.

A new resource with ID X, matching the List filters, is created at time t+1.

Resource with ID X may or may not appear on later pages, depending on ordering. For example, if the results are ordered by:

Descending create timestamp, resource with ID X would not appear on later pages as it is the most recently-created resource.

Ascending create timestamp, resource with ID X appears on the last page. 

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Mar 11 2023
Vinay Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.