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

Chia-Ping Tsai commented on YUNIKORN-2061:
------------------------------------------

[~yangpoan] Could you share the cases to us? I guess the WEB UI gets slow 
response from RESTful APIs? If so, it may have two reasons: The size of 
response is too large to sent. Or the response content is generated slowly. We 
may need to re-think the APIs for the first reason. For another, we could 
profile the handlers.go to find out the critical and slow path (when there are 
a bunch of applications) .

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