You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by "Thomas G Loubrieu (Jira)" <ji...@apache.org> on 2022/04/27 19:08:00 UTC

[jira] [Created] (SDAP-386) Make web API request return partial results if too long

Thomas G Loubrieu created SDAP-386:
--------------------------------------

             Summary: Make web API request return partial results if too long
                 Key: SDAP-386
                 URL: https://issues.apache.org/jira/browse/SDAP-386
             Project: Apache Science Data Analytics Platform
          Issue Type: Improvement
            Reporter: Thomas G Loubrieu


This can be a way of implementing asynchronous request (assuming that the volume of the response is small anyway because it is the result of a computation).

Implemented scenario would be
- If the request takes longer than X, return a partial result with status 206
- if the user requests the same request again, use a cached version of the request processing object and return the current status: partial or complete with the available data.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)