[
https://issues.apache.org/jira/browse/CLOUDSTACK-8766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718149#comment-14718149
]
ASF GitHub Bot commented on CLOUDSTACK-8766:
--------------------------------------------
Github user bhaisaab commented on the pull request:
https://github.com/apache/cloudstack/pull/751#issuecomment-135661968
Did some API request size and time comparisons for various pagesizes
against a large template collection (more than 4000 templates across 30+ zones);
Page Size | API response size (KB) | Time (ms)
--------- | ---------------------- | ---------
20 | 15.8 | 360
100 | 77.1 | 366
150 | 117 | 448
200 | 157 | 408
250 | 199 | 440
500 | 402 | 791
Based on this data, on the lowest side pagesize of 100 seems alright for
the time taken vs the payload size, but has more risk on a lower reduced list
size (not enough to render a scroll); on the higher side pagesize of 200-250
seems alright considering roughly similar time.
Refs:
ps=20

ps=100

ps=150

ps=200

ps=250

ps=500

> In zone based template listings, infinite scrolling pagination is broken
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8766
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8766
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.5.0, 4.5.1, 4.5.2
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Priority: Minor
> Fix For: 4.5.3, 4.6.0
>
>
> On the template page, when a template is select, goto Zones tab and scroll to
> list all the templates. In case the number of zones are more than 20 there is
> an infinite scrolling/listing issue as it does not paginate the result. The
> fix would be to use listViewDataProvider to get pagination when requesting
> the API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)