Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iiDHI-0003ZG-AR for pgadmin-hackers@arkaria.postgresql.org; Fri, 20 Dec 2019 08:04:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iiDHG-00011M-Bl for pgadmin-hackers@arkaria.postgresql.org; Fri, 20 Dec 2019 08:04:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iiDHG-00011F-05 for pgadmin-hackers@lists.postgresql.org; Fri, 20 Dec 2019 08:04:50 +0000 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iiDHA-0006U9-V7 for pgadmin-hackers@postgresql.org; Fri, 20 Dec 2019 08:04:49 +0000 Received: by mail-ot1-x331.google.com with SMTP id k16so6246313otb.2 for ; Fri, 20 Dec 2019 00:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/LEe/wadt5/urxAJOC4ew+1DFte+2y5zOABG3lqGA8Y=; b=yk77r2BOeBnMyLOsl7HCQTn3G33qAa9wIhHbsJ7PMlkT7Pl7zbImAkdbxLl7pbRRqm y4ycYEib2BCm/OC7yg2McnEQKfgSTfdNW2J10mGP1hNW/AmJjHdg5p5FRjYkldKtnk1O AQx+IcI2ptrFX3gWre/Ov+y0W5FlHZ/s31+t0ZCmvAXZqP5EgzowAcYJ1o/y6BZn8fKA wCv/GVV2jZLj1mNdpdxKenOdp9T2D+GBBfXBg9BVEtOUCMRkrav5+6xItK+ETEsogvdd yGIjXyUmdiqJls9DGu4KGjdQW7w9VIb/0MeXeJObd3NiRTdCktnGN/qt8652xr/sN0rN JEfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/LEe/wadt5/urxAJOC4ew+1DFte+2y5zOABG3lqGA8Y=; b=tOsgVIJlI+0b/34K93SsvsKDnOiD8eotClDd6SCg+Tb+uc/FpENQ5wk92lssgOrLAr tOFenSQhYtjX/5+ZD7y/B6KRUUnp2oyIgtQe1VHglbiqG81+3/BB1DwUrP1wp1c6HhcM MNnOPDAez1DZq744HWSOmFdmfWX6nIZVkkIZpa+vrSQANPlSvpoHaTkg4OY0bnQW0mce Dgf6DFRow+rZxbCXT4SRU7scGP59k32ZYn+CVZqVQNfmhzDnMafC6auKsJBlec/20zGW ChxgXSvkd/U2m9hWVrhr28urOccdtTSbQp9xnzj8dGa0BU6DUABDou1AoUAl8ocox5KP yAbg== X-Gm-Message-State: APjAAAVFqQdJ0RvfpweduFi5OMM0aQ6VDtF10Kdr19a0bluGBMwrCyNP b85x5pZU9haw9KqaVgZcr8CLCG9f4huKwA8UtnyB5MZ7iXeOw7VTv8qqHyUK+qwvjZRBarXlOtN 8xfZfmsEHVbAFj7fi+3TWo6daOtLZvHPG+NZ91r7L1yBL6mWU8/OXVO+P0ugtkeq/7ns6LIimss /pGUmt+rZBgwLeIbeV6vFQUSHlZUNPZkeqG+blwQI1JCaD/qATUNI= X-Google-Smtp-Source: APXvYqw4cXHbWfPrk0xI3FlbDmrkZk2JCSsQrsKymxtdxioIDjXezBFqn9fvqppRA9pyg7bQnTXrErHhBjaN/Be0Ask= X-Received: by 2002:a9d:5616:: with SMTP id e22mr13172906oti.366.1576829081505; Fri, 20 Dec 2019 00:04:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ashesh Vashi Date: Fri, 20 Dec 2019 13:34:29 +0530 Message-ID: Subject: Re: [pgAdmin][RM5017] Use cheroot as default production server To: Aditya Toshniwal Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000467c74059a1e219d" X-CLOUD-SEC-AV-Info: edb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000467c74059a1e219d Content-Type: text/plain; charset="UTF-8" Have you seen any improvements in performance? On Tue, 17 Dec 2019, 15:16 Aditya Toshniwal, < aditya.toshniwal@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch to use https://pypi.org/project/cheroot/ instead of > current flask dev server. cheroot is a stable production ready server. > Plus, flask dev server is not recommended for production. > Code is changed to use cheroot only when DEBUG is False, otherwise you the > default flask server. > > Kindly review. > > -- > Thanks and Regards, > Aditya Toshniwal > Sr. Software Engineer | EnterpriseDB India | Pune > "Don't Complain about Heat, Plant a TREE" > --000000000000467c74059a1e219d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Have you seen any improvements in performance?=C2=A0
On Tu= e, 17 Dec 2019, 15:16 Aditya Toshniwal, <aditya.toshniwal@enterprisedb.com> wrote:
<= /div>
Hi Hackers,

Attached i= s the patch to use=C2=A0https://pypi.org/project/cheroot/=C2=A0instead of current flask d= ev server. cheroot is a stable production ready server. Plus, flask dev ser= ver is not recommended for production.
Code is changed to use cheroot only = when DEBUG is False, otherwise=C2=A0you the default flask server.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer |=C2=A0EnterpriseDB India= |=C2=A0Pune
&q= uot;Don't Complain about Heat, Plant a TREE"
--000000000000467c74059a1e219d--