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

Hsuan Zong Wu commented on YUNIKORN-2061:
-----------------------------------------

Hello, this is the outcome of testing with KWOK. When deploying a large number 
of applications, it leads to a significant delay in WebUI as it spends a 
considerable amount of time fetching data from the REST API.

In this experimental setup, we have deployed 100 applications across 5,000 
nodes, resulting in a total of 97,941 pods being deployed. The results indicate 
that when using the 'curl' tool to retrieve data from the REST API, it 
downloads 63.5MB of data and takes 12 seconds. On the other hand, when using 
the Safari developer tool to fetch data from the Web UI, it downloads 66.65MB 
of data and takes 10.76 seconds. The download time is influenced by the network 
bandwidth.
 !Screenshot 2023-10-21 at 1.33.55 PM.png! 
 !截圖 2023-10-21 下午12.55.27.png! 



> [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 1.33.55 PM.png, 截圖 2023-10-21 
> 下午12.55.27.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