MESSAGE
DATE | 2020-08-04 |
FROM | jbiskofski
|
SUBJECT | Re: [Hangout - NYLXS] suggestions for perl as web development
|
From hangout-bounces-at-nylxs.com Thu Aug 6 22:04:56 2020 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id CB15C164010; Thu, 6 Aug 2020 22:04:55 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 96072164005; Thu, 6 Aug 2020 22:01:30 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Thu, 6 Aug 2020 22:01:30 -0400 Resent-Message-ID: <20200807020130.GT24245-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mrbrklyn.com (Postfix) with ESMTP id 9A276163F91 for ; Tue, 4 Aug 2020 21:05:45 -0400 (EDT) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 12CB91253A0 for ; Wed, 5 Aug 2020 01:05:44 +0000 (UTC) Received: (qmail 95698 invoked by uid 500); 5 Aug 2020 01:05:43 -0000 Mailing-List: contact modperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list modperl-at-perl.apache.org Received: (qmail 95683 invoked by uid 99); 5 Aug 2020 01:05:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2020 01:05:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AAF051A33E8 for ; Wed, 5 Aug 2020 01:05:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.003 X-Spam-Level: * X-Spam-Status: No, score=1.003 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id sVa40S6GBQlS for ; Wed, 5 Aug 2020 01:05:40 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.177; helo=mail-pl1-f177.google.com; envelope-from=jbiskofski-at-gmail.com; receiver= Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 64D83BB941 for ; Wed, 5 Aug 2020 01:05:40 +0000 (UTC) Received: by mail-pl1-f177.google.com with SMTP id d1so24324152plr.8 for ; Tue, 04 Aug 2020 18:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ytDY2i3SRQkVMk/4v4TNuJtPRhjmUPp80wcLqH77VMk=; b=DXSJ6QsSGKICdySmDXY4mi0OXG/xVVMmnlZUcGeaTDGFWnh2YN95t0DQeyEwioBBR2 yU3XJdygdWZjU8hmQe4AItSRCCH9RNFQhlFHlhOBb+YgptsF3e1boYAXCDI5GvwAQnBz 5qGlyD3j1wXu/hR2QDpRnCRAdzcYZPY9G0MnJY+X3jthJWBzDasb3vKXaLMKONV9pZnH 3sOAinOiFpyqMKBtb8iTusk3sBqQ0GD/FqyeFQkXT7omWZxXnjJDL20aaay6plWZ6PNy d1B4Eaw7OGCUkh2kwoj+El9zk0Ku00MG3vYNEB4OYWvoKYtl0fNtIKotJF27JDEH8zKd gFgw== 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=ytDY2i3SRQkVMk/4v4TNuJtPRhjmUPp80wcLqH77VMk=; b=OYVzR4EFxe9lbg35o2kiYeDQhREOFN+n6PMRuKUX4KiH3PGymx5g2xyZBml0zsdn4V eZqJLgLRNPHjIq15rDZUVu8GMJc0OhXgmCVrmqVqUyzUgYw3zF+p79aAmpTTSFasF1wG pHjetzWLazHg7jfVei4KpnpJZLrTcXUo27GDYAZ9QDuCULfFUVAkNGVw82/y/dwzQEvw DUcXpBPfqyoTJ+srnXKQGP+H8tRe+xwHEli4PIm2EmYKV/yc9vf5mqy2dWnxIFFu3uVL lahtf/joE2BdNVFc9/bGJ+L1FQht8i/kOoT393d8LMo8aTwZFRvonY9GvymjOYzLw2UJ 61YA== X-Gm-Message-State: AOAM530d1td9EJ/82FITyKJ+xpz4VVyTYKvUZf4x65Oqxg08lA5aBXAf cuqzAl+7zWAiTWlYTpIp/RgZVKsLbv8zMlR3WV4= X-Google-Smtp-Source: ABdhPJzM0A3rXu4VAN3hTRv7cbFb1uxGdnR8VgU2Cainzg51F5TIpk9PowR9zoehd2WEW+Hr+J2JN62uKo6NPeKPvrs= X-Received: by 2002:a17:902:246:: with SMTP id 64mr867177plc.70.1596589539512; Tue, 04 Aug 2020 18:05:39 -0700 (PDT) MIME-Version: 1.0 References: <3A8B7869-1464-442E-9647-08514375C4D9-at-blackmans.org> <20200805005553.GA1176-at-www2.mrbrklyn.com> In-Reply-To: From: jbiskofski Date: Tue, 4 Aug 2020 18:05:28 -0700 Message-ID: To: Mithun Bhattacharya Subject: Re: [Hangout - NYLXS] suggestions for perl as web development language [EXT] X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mod_perl list Content-Type: multipart/mixed; boundary="===============1128122586==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1128122586== Content-Type: multipart/alternative; boundary="0000000000005ad60e05ac16f87d"
--0000000000005ad60e05ac16f87d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mod Perl is awesome. That said, the cool kids today are all about Plack.
Google: Dancer, Mojolicious, Catalyst. These allow you to plugin to all parts of the HTTP protocol, but obviously not to modify apache configuration. Excelent, stable, FAST, production ready HTTP server: Starman Even faster, but not as proven: Twiggy.
The most common setup would be with an Nginx process in front.
I had a hard time accepting this was a good configuration because for 20 years I had thought of webservers as big giant compiled systems (apache), but apparently you can now create something just as fast in Perl.
On Tue, Aug 4, 2020 at 5:59 PM Mithun Bhattacharya wrote= :
> The question is move off to what ? I don't see alternatives being shared > which blows an apache+mod_perl setup out of the water. > > On Tue, Aug 4, 2020 at 7:56 PM Ruben Safir wrote: > >> On Tue, Aug 04, 2020 at 09:48:48PM +0100, Mark Blackman wrote: >> > >> > >> > > On 4 Aug 2020, at 21:41, Mithun Bhattacharya >> wrote: >> > > >> > > I am genuinely curious what are these other "well known" means ? >> > > >> > > On Tue, Aug 4, 2020 at 3:37 PM Mark Blackman >> > wrote: >> > > >> > > >> > > > On 4 Aug 2020, at 17:58, Mithun Bhattacharya >> > wrote: >> > > > >> > > > mod_perl does have value because it does a more efficient >> utilization of resources - this is important when fast response time and >> scalability is important. The complexity is a known problem but it is no= t a >> mystery box either - there is enough documentation which explains what h= as >> to happen and what could have gone wrong. >> > > >> > > mod_perl=E2=80=99s relative efficiency can be achieved by other well= -known >> means. >> > >> > That would depend on what you mean by "efficient utilisation of >> resources=E2=80=9D. You can get the same general effect, more simply, b= y running a >> high-performing pre-forking Perl web application server and a web server >> with a simple configuration in front of it ,instead of a complicated >> Apache+mod_perl installation. >> > >> > That also buys you a nice separation of concerns, the web server >> handles all the complicated host or path rewrites and access control and >> the Perl app focuses on responding to the, now-sanitised, fully normaliz= ed, >> HTTP requests. >> > >> >> Not really and the separtion is not a concern, it is an asset, the most >> important one. >> >> To get faster, you would need to move off apache. >> >> >> > - Mark >> > >> > >> > >> >> -- >> So many immigrant groups have swept through our town >> that Brooklyn, like Atlantis, reaches mythological >> proportions in the mind of the world - RI Safir 1998 >> http://www.mrbrklyn.com >> >> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 >> http://www.nylxs.com - Leadership Development in Free Software >> http://www2.mrbrklyn.com/resources - Unpublished Archive >> http://www.coinhangout.com - coins! >> http://www.brooklyn-living.com >> >> Being so tracked is for FARM ANIMALS and extermination camps, >> but incompatible with living as a free human being. -RI Safir 2013 >> >>
--0000000000005ad60e05ac16f87d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mod Perl is awesome. That said, the cool kids today are al= l about Plack.
Google: Dancer, Mojolicious, Catalyst. Th= ese allow you to plugin to all parts of the HTTP protocol, but obviously=C2= =A0not to modify apache configuration.=C2=A0 Excelent, stable, FA= ST, production ready HTTP server:=C2=A0Starman Even faster, but n= ot as proven: Twiggy.
The most common setup wo= uld be with an Nginx process in front.
I had a har= d time accepting this was a good configuration because for 20 years I had t= hought of webservers=C2=A0as big giant compiled systems (apache), but appar= ently=C2=A0you can now create something just as fast in Perl. >
class=3D"gmail_attr">On Tue, Aug 4, 2020 at 5:59 PM Mithun Bhattacharya &l= t; mithnb-at-gmail.com> wrote: = div> der-left:1px solid rgb(204,204,204);padding-left:1ex">The = question is move off to what ? I don't see alternatives being shared wh= ich blows an apache+mod_perl setup out of the water.
"gmail_quote"> quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex">On Tue, Aug 04, 2020 at 09:48:48PM +0100, Mark Black= man wrote:
>
>
> > On 4 Aug 2020, at 21:41, Mithun Bhattacharya <o:mithnb-at-gmail.com" target=3D"_blank">mithnb-at-gmail.com> wrote:
> >
> > I am genuinely curious what are these other "well known"= ; means ?
> >
> > On Tue, Aug 4, 2020 at 3:37 PM Mark Blackman <o:mark-at-blackmans.org" target=3D"_blank">mark-at-blackmans.org <mailto:<= a href=3D"mailto:mark-at-blackmans.org" target=3D"_blank">mark-at-blackmans.org= a>>> wrote:
> >
> >
> > > On 4 Aug 2020, at 17:58, Mithun Bhattacharya <mailto:mithnb-at-gmail.com" target=3D"_blank">mithnb-at-gmail.com <mailto:= mithnb-at-gmail.com&= gt;> wrote:
> > >
> > > mod_perl does have value because it does a more efficient ut= ilization of resources - this is important when fast response time and scal= ability is important. The complexity is a known problem but it is not a mys= tery box either - there is enough documentation which explains what has to = happen and what could have gone wrong.
> >
> > mod_perl=E2=80=99s relative efficiency can be achieved by other w= ell-known means.
>
> That would depend on what you mean by=C2=A0 "efficient utilisatio= n of resources=E2=80=9D.=C2=A0 You can get the same general effect, more si= mply, by running a high-performing pre-forking Perl web application server = and a web server with a simple configuration in front of it ,instead of a c= omplicated Apache+mod_perl installation.
>
> That also buys you a nice separation of concerns, the web server handl= es all the complicated host or path rewrites and access control and the Per= l app focuses on responding to the, now-sanitised, fully normalized, HTTP r= equests.
>
Not really and the separtion is not a concern, it is an asset, the most
important one.
To get faster, you would need to move off apache.
> - Mark
>
>
>
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
ht= tp://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http:= //www.nylxs.com - Leadership Development in Free Software
"_blank">http://www2.mrbrklyn.com/resources - Unpublished Archive
>http://www.coinhangout.com - coins!
ank">http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
--0000000000005ad60e05ac16f87d-- --===============1128122586== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout --===============1128122586==-- --===============1128122586== Content-Type: multipart/alternative; boundary="0000000000005ad60e05ac16f87d" --0000000000005ad60e05ac16f87d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mod Perl is awesome. That said, the cool kids today are all about Plack. Google: Dancer, Mojolicious, Catalyst. These allow you to plugin to all parts of the HTTP protocol, but obviously not to modify apache configuration. Excelent, stable, FAST, production ready HTTP server: Starman Even faster, but not as proven: Twiggy. The most common setup would be with an Nginx process in front. I had a hard time accepting this was a good configuration because for 20 years I had thought of webservers as big giant compiled systems (apache), but apparently you can now create something just as fast in Perl. On Tue, Aug 4, 2020 at 5:59 PM Mithun Bhattacharya wrote= :
> The question is move off to what ? I don't see alternatives being shared > which blows an apache+mod_perl setup out of the water. > > On Tue, Aug 4, 2020 at 7:56 PM Ruben Safir wrote: > >> On Tue, Aug 04, 2020 at 09:48:48PM +0100, Mark Blackman wrote: >> > >> > >> > > On 4 Aug 2020, at 21:41, Mithun Bhattacharya >> wrote: >> > > >> > > I am genuinely curious what are these other "well known" means ? >> > > >> > > On Tue, Aug 4, 2020 at 3:37 PM Mark Blackman >> > wrote: >> > > >> > > >> > > > On 4 Aug 2020, at 17:58, Mithun Bhattacharya >> > wrote: >> > > > >> > > > mod_perl does have value because it does a more efficient >> utilization of resources - this is important when fast response time and >> scalability is important. The complexity is a known problem but it is no= t a >> mystery box either - there is enough documentation which explains what h= as >> to happen and what could have gone wrong. >> > > >> > > mod_perl=E2=80=99s relative efficiency can be achieved by other well= -known >> means. >> > >> > That would depend on what you mean by "efficient utilisation of >> resources=E2=80=9D. You can get the same general effect, more simply, b= y running a >> high-performing pre-forking Perl web application server and a web server >> with a simple configuration in front of it ,instead of a complicated >> Apache+mod_perl installation. >> > >> > That also buys you a nice separation of concerns, the web server >> handles all the complicated host or path rewrites and access control and >> the Perl app focuses on responding to the, now-sanitised, fully normaliz= ed, >> HTTP requests. >> > >> >> Not really and the separtion is not a concern, it is an asset, the most >> important one. >> >> To get faster, you would need to move off apache. >> >> >> > - Mark >> > >> > >> > >> >> -- >> So many immigrant groups have swept through our town >> that Brooklyn, like Atlantis, reaches mythological >> proportions in the mind of the world - RI Safir 1998 >> http://www.mrbrklyn.com >> >> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 >> http://www.nylxs.com - Leadership Development in Free Software >> http://www2.mrbrklyn.com/resources - Unpublished Archive >> http://www.coinhangout.com - coins! >> http://www.brooklyn-living.com >> >> Being so tracked is for FARM ANIMALS and extermination camps, >> but incompatible with living as a free human being. -RI Safir 2013 >> >>
--0000000000005ad60e05ac16f87d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mod Perl is awesome. That said, the cool kids today are al= l about Plack.
Google: Dancer, Mojolicious, Catalyst. Th= ese allow you to plugin to all parts of the HTTP protocol, but obviously=C2= =A0not to modify apache configuration.=C2=A0 Excelent, stable, FA= ST, production ready HTTP server:=C2=A0Starman Even faster, but n= ot as proven: Twiggy.
The most common setup wo= uld be with an Nginx process in front.
I had a har= d time accepting this was a good configuration because for 20 years I had t= hought of webservers=C2=A0as big giant compiled systems (apache), but appar= ently=C2=A0you can now create something just as fast in Perl. >
class=3D"gmail_attr">On Tue, Aug 4, 2020 at 5:59 PM Mithun Bhattacharya &l= t; mithnb-at-gmail.com> wrote: = div> der-left:1px solid rgb(204,204,204);padding-left:1ex">The = question is move off to what ? I don't see alternatives being shared wh= ich blows an apache+mod_perl setup out of the water.
"gmail_quote"> quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex">On Tue, Aug 04, 2020 at 09:48:48PM +0100, Mark Black= man wrote:
>
>
> > On 4 Aug 2020, at 21:41, Mithun Bhattacharya <o:mithnb-at-gmail.com" target=3D"_blank">mithnb-at-gmail.com> wrote:
> >
> > I am genuinely curious what are these other "well known"= ; means ?
> >
> > On Tue, Aug 4, 2020 at 3:37 PM Mark Blackman <o:mark-at-blackmans.org" target=3D"_blank">mark-at-blackmans.org <mailto:<= a href=3D"mailto:mark-at-blackmans.org" target=3D"_blank">mark-at-blackmans.org= a>>> wrote:
> >
> >
> > > On 4 Aug 2020, at 17:58, Mithun Bhattacharya <mailto:mithnb-at-gmail.com" target=3D"_blank">mithnb-at-gmail.com <mailto:= mithnb-at-gmail.com&= gt;> wrote:
> > >
> > > mod_perl does have value because it does a more efficient ut= ilization of resources - this is important when fast response time and scal= ability is important. The complexity is a known problem but it is not a mys= tery box either - there is enough documentation which explains what has to = happen and what could have gone wrong.
> >
> > mod_perl=E2=80=99s relative efficiency can be achieved by other w= ell-known means.
>
> That would depend on what you mean by=C2=A0 "efficient utilisatio= n of resources=E2=80=9D.=C2=A0 You can get the same general effect, more si= mply, by running a high-performing pre-forking Perl web application server = and a web server with a simple configuration in front of it ,instead of a c= omplicated Apache+mod_perl installation.
>
> That also buys you a nice separation of concerns, the web server handl= es all the complicated host or path rewrites and access control and the Per= l app focuses on responding to the, now-sanitised, fully normalized, HTTP r= equests.
>
Not really and the separtion is not a concern, it is an asset, the most
important one.
To get faster, you would need to move off apache.
> - Mark
>
>
>
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
ht= tp://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http:= //www.nylxs.com - Leadership Development in Free Software
"_blank">http://www2.mrbrklyn.com/resources - Unpublished Archive
>http://www.coinhangout.com - coins!
ank">http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
--0000000000005ad60e05ac16f87d-- --===============1128122586== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout --===============1128122586==-- |
|