[ 
https://issues.apache.org/jira/browse/YUNIKORN-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789787#comment-17789787
 ] 

Craig Condit commented on YUNIKORN-2061:
----------------------------------------

Please use GZIP via standard sever / browser Accept-Encoding/ Content-Encoding 
headers (in other words let the server and client negotiate this at the 
protocol level). There should be a flag in the web server config to allow this 
or a filter that can be configured. It’s far more standard and doesn’t require 
additional client support. GZIP is a little less efficient but has virtually 
100% browser support and requires no extra coding. Do be aware that the 
yunikorn-web reverse proxy that we supply also needs to allow this. 

> [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]

Reply via email to