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
    
![20](https://cloud.githubusercontent.com/assets/95203/9541300/6e7a97d0-4d84-11e5-804c-c7efc228ff9b.png)
    
    ps=100
    
![100](https://cloud.githubusercontent.com/assets/95203/9541303/71af4932-4d84-11e5-917e-4236278fc2da.png)
    
    ps=150
    
![150](https://cloud.githubusercontent.com/assets/95203/9541306/74924bd6-4d84-11e5-988b-5b5ccbe5e1c0.png)
    
    ps=200
    
![200](https://cloud.githubusercontent.com/assets/95203/9541310/7eda7672-4d84-11e5-9f68-ac775554d60d.png)
    
    ps=250
    
![250](https://cloud.githubusercontent.com/assets/95203/9541311/7edba98e-4d84-11e5-99a8-74f9b13039d7.png)
    
    ps=500
    
![500](https://cloud.githubusercontent.com/assets/95203/9541312/7ee1a910-4d84-11e5-8bbc-3088d3655301.png)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to