Paginated Listing With Partial Pages And Continuation Tokens

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data storage systems face challenges in efficiently handling paginated listing requests, particularly when the index is large and few items match the search criteria, leading to timeouts before a full page of results can be collected.

Innovation Solution

The system implements paginated listing with partial pages by returning an incomplete page of results along with a token, allowing for continuation of the list from where it left off, rather than at the end of the incomplete page. This is achieved by determining when a threshold amount of time has elapsed relative to a timeout event and returning the partial results with a token.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the system collects a full page of results before timing out, then the completeness of results is improved, but the response time increases and timeouts occur when the index is large

Engineering Contradiction:
Improvetimeout error rateVSAvoidresponse time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system applies partial action by returning incomplete pages of results when a timeout is detected, rather than waiting for complete results. The server identifies when a timeout event is approaching and returns the partial results collected so far, along with a token for continuation. This resolves the contradiction by prioritizing timely response over complete results, reducing timeout errors while accepting that some results may be incomplete.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system implements feedback by monitoring the timeout event and using this information to determine when to return partial results. The feedback mechanism allows the server to dynamically adjust its behavior based on real-time timeout status, returning partial pages when the timeout threshold is approached. This feedback loop resolves the contradiction by enabling the system to adapt response timing based on actual timeout conditions.

Inventive Principle:
Principle #23Feedback

2Reliability

If the system returns partial pages with tokens for continuation, then the reliability of list operations is improved, but the complexity of handling pagination increases

Engineering Contradiction:
Improvelist operation reliabilityVSAvoidpagination handling complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system introduces a token as an intermediary mechanism to handle pagination complexity. The token serves as a mediator between the partial results and the continuation process, allowing clients to resume listing from where they left off without needing to reprocess previous results. This intermediary approach resolves the contradiction by simplifying the continuation mechanism while maintaining high reliability in list operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If the system waits for complete page results, then the accuracy of result completeness is improved, but the productivity of the system decreases due to timeouts

Engineering Contradiction:
Improvelisting operation throughputVSAvoidresult completeness accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system applies partial action by accepting incomplete results when timeouts occur, prioritizing productivity over complete accuracy. By returning partial pages with continuation tokens, the system maintains listing operation throughput while acknowledging that result completeness may be compromised in timeout scenarios. This resolves the contradiction by favoring productivity and allowing clients to handle partial results appropriately.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12299046B2Paginated listing with partial pages
Publication Date: 2025.05.13 DELL PROD LP
  • US12299046B2 patent drawing
  • US12299046B2 patent drawing
  • US12299046B2 patent drawing

AI summary

A system can receive a first request to list elements of a storage system that satisfy a search criterion. The system can determine to respond to the first request with a first page of results. The system can perform an iteration of identifying a group of results of the elements that satisfy the search criterion, wherein a number of results in the group of results is less than the limit, and wherein there is at least one result that is not included in the group of results. The system can, in response to determining that a threshold amount of time has elapsed relative to a timeout event associated with the first request, return the first page of results, wherein the first page of results comprises the group of results, and a token that is usable to identify the first request in a second request for a second page of results.