[
https://issues.apache.org/jira/browse/YUNIKORN-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794802#comment-17794802
]
Craig Condit commented on YUNIKORN-2061:
----------------------------------------
It looks like you are unconditionally compressing the response in your demo -
please be sure that the Accept-Encoding header is honored (i.e. you should not
send compressed data unless the client requests it). See
[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding] for
details.
> [Umbrella] Add Pagination to APIs which may have lot of items in response
> -------------------------------------------------------------------------
>
> Key: YUNIKORN-2061
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2061
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common, webapp
> Reporter: PoAn Yang
> Assignee: JiaChi Wang
> Priority: Major
> Attachments: Screenshot 2023-10-21 at 8.01.26 PM.png, Screenshot
> 2023-10-21 at 8.03.15 PM.png, getQueueApplication_after_compress.png,
> getQueueApplication_before_compress.png
>
>
> The following API may have lot of items in one response. It's good to add
> pagination design to them.
> * Queue applications
> (/ws/v1/partition/\{partitionName}/queue/\{queueName}/applications)
> * Application history (/ws/v1/history/apps)
> * Container history (/ws/v1/history/containers)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]