Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BA0F7200CED for ; Fri, 4 Aug 2017 02:04:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B876816CD2C; Fri, 4 Aug 2017 00:04:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A9F416CD2B for ; Fri, 4 Aug 2017 02:04:03 +0200 (CEST) Received: (qmail 41820 invoked by uid 500); 4 Aug 2017 00:04:03 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 41806 invoked by uid 99); 4 Aug 2017 00:04:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2017 00:04:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C8AAA1806C7 for ; Fri, 4 Aug 2017 00:04:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Zy6nIgDAU-pE for ; Fri, 4 Aug 2017 00:04:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 802BA5F56C for ; Fri, 4 Aug 2017 00:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EC906E0012 for ; Fri, 4 Aug 2017 00:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 07DD921D63 for ; Fri, 4 Aug 2017 00:04:00 +0000 (UTC) Date: Fri, 4 Aug 2017 00:04:00 +0000 (UTC) From: "Edgar Rodriguez (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (AIRFLOW-1483) Page size on model views is to large to render quickly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 04 Aug 2017 00:04:04 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on AIRFLOW-1483 started by Edgar Rodriguez. ------------------------------------------------ > Page size on model views is to large to render quickly > ------------------------------------------------------ > > Key: AIRFLOW-1483 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1483 > Project: Apache Airflow > Issue Type: Bug > Reporter: Edgar Rodriguez > Assignee: Edgar Rodriguez > Attachments: taskinstance_page_loading_breakdown.png > > > The current hardcoded values for the {{page_size}} on {{AirflowModelView}} is set to {{500}} rows, which is usually too large to render in less than 1-2 secs in modern browsers. > Also, in some endpoints it is also taking a long time to render server-side the HTML content for 500 rows, taking around 1-2 secs (on the server) or sometimes more. > Simple approach is to reduce this value to something more sensible (100 maybe?). Probably making it a configurable value would be a good option too in case the default is not good enough. > See attachment for a profiled sample of a page loading time. -- This message was sent by Atlassian JIRA (v6.4.14#64029)