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

JiaChi Wang commented on YUNIKORN-2061:
---------------------------------------

Thanks for the advice! The demo has been updated, so it uses the gzip method 
and can be auto-decoded by the browser now. Compression API in 9889 and 9080 
have been tested, and both work fine (I've checked this in the UI side, calling 
the API by Postman, and using curl in the command line).

I also used the same test case (50,000 pods), and the response size 
before/after gzip compression is 32MB and 2.4MB (about 7.5% of the original 
size, less than the result of snappy).

Please let me know if I miss anything.

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