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 E1E9B200C32 for ; Thu, 9 Mar 2017 16:38:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E07BF160B67; Thu, 9 Mar 2017 15:38:37 +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 3615C160B64 for ; Thu, 9 Mar 2017 16:38:37 +0100 (CET) Received: (qmail 4851 invoked by uid 500); 9 Mar 2017 15:38:36 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 4841 invoked by uid 99); 9 Mar 2017 15:38:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 15:38:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AAC5CC0AF6 for ; Thu, 9 Mar 2017 15:38:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.905 X-Spam-Level: X-Spam-Status: No, score=0.905 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.096, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id e5AAtvoSDT2b for ; Thu, 9 Mar 2017 15:38:33 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3CE6760DBE for ; Thu, 9 Mar 2017 15:38:33 +0000 (UTC) Received: from X201.home ([193.251.178.45]) by mwinf5d04 with ME id treQ1u0030z9ZVd03reQo6; Thu, 09 Mar 2017 16:38:25 +0100 X-ME-Helo: X201.home X-ME-Auth: dnYubGlzdHNAd2FuYWRvby5mcg== X-ME-Date: Thu, 09 Mar 2017 16:38:25 +0100 X-ME-IP: 193.251.178.45 Date: Thu, 9 Mar 2017 16:38:24 +0100 From: Vincent Veyron To: =?ISO-8859-15?Q?Andr=E9?= Warnier Cc: modperl@perl.apache.org Subject: Re: Where is the mod_perl development repo? Message-Id: <20170309163824.fb9fe9f922aba8f1166bbbab@wanadoo.fr> In-Reply-To: <58C117CB.8090104@ice-sa.com> References: <861suullw9.fsf@red.stonehenge.com> <58C117CB.8090104@ice-sa.com> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable archived-at: Thu, 09 Mar 2017 15:38:38 -0000 On Thu, 9 Mar 2017 09:52:27 +0100 Andr=E9 Warnier wrote: > If I understand the general idea correctly, it consists of no longer runn= ing complicated=20 > and memory-hungry things directly in Apache through mod_perl, but to use = Apache as a=20 > front-end reverse proxy, and proxy such calls to one or more back-end pro= cesses having=20 > their own persistent perl (or other) interpreter. Is that correct ? >=20 What is your use case? If this is for a high traffic site serving lots of s= tatic pages, or your databases are huge and require long running queries, i= t may be worth it.=20 My situation is the opposite, no static content, low traffic, all of it hit= ting small databases with 5 or six queries on average per page (for CRM typ= e apps). This is what top looks like on a dedibox serving about 20 users : top - 16:25:21 up 11 days, 44 min, 1 user, load average: 0,00, 0,00, 0,00 Tasks: 128 total, 1 running, 127 sleeping, 0 stopped, 0 zombie %Cpu(s): 0,0 us, 0,1 sy, 0,0 ni, 99,9 id, 0,0 wa, 0,0 hi, 0,0 si, 0,= 0 st KiB Mem: 4041248 total, 1112512 used, 2928736 free, 134504 buffers KiB Swap: 4094972 total, 0 used, 4094972 free. 661944 cached Mem Tests with ab show 50 requests/second, and I don't see a memory problem tha= t would warrant the overhead of a front-end reverse proxy. --=20 Bien =E0 vous, Vincent Veyron=20 https://marica.fr/ Gestion des sinistres assurances, des dossiers contentieux et des contrats = pour le service juridique