Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C82610ABB for ; Fri, 28 Aug 2015 07:31:01 +0000 (UTC) Received: (qmail 96196 invoked by uid 500); 28 Aug 2015 07:31:00 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 96134 invoked by uid 500); 28 Aug 2015 07:31:00 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 96123 invoked by uid 99); 28 Aug 2015 07:31:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2015 07:31:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 61918DFEF0; Fri, 28 Aug 2015 07:31:00 +0000 (UTC) From: bhaisaab To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-8766: Fix infinite scrolling p... Content-Type: text/plain Message-Id: <20150828073100.61918DFEF0@git1-us-west.apache.org> Date: Fri, 28 Aug 2015 07:31:00 +0000 (UTC) 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---