MESSAGE
DATE | 2020-08-04 |
FROM | Mithun Bhattacharya
|
SUBJECT | Re: [Hangout - NYLXS] suggestions for perl as web development
|
From hangout-bounces-at-nylxs.com Thu Aug 6 22:03:08 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 4CC7E163FF9; Thu, 6 Aug 2020 22:03:07 -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 C20DB163FFC; Thu, 6 Aug 2020 22:01:29 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Thu, 6 Aug 2020 22:01:29 -0400 Resent-Message-ID: <20200807020129.GP24245-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 1DB3B163F91 for ; Tue, 4 Aug 2020 21:17:07 -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 DCF6B125928 for ; Wed, 5 Aug 2020 01:17:05 +0000 (UTC) Received: (qmail 12392 invoked by uid 500); 5 Aug 2020 01:17:05 -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 12377 invoked by uid 99); 5 Aug 2020 01:17:05 -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; Wed, 05 Aug 2020 01:17:05 +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 85AD3C00C8 for ; Wed, 5 Aug 2020 01:17:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 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, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jNPr-xxdjuDd for ; Wed, 5 Aug 2020 01:17:03 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::e2a; helo=mail-vs1-xe2a.google.com; envelope-from=mithnb-at-gmail.com; receiver= Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 74C197F5C9 for ; Wed, 5 Aug 2020 01:17:02 +0000 (UTC) Received: by mail-vs1-xe2a.google.com with SMTP id j23so15637140vsq.7 for ; Tue, 04 Aug 2020 18:17:02 -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=hyi7nBhLd1Oohaxnyh+8o2bIJr8o+eyIOipVb6tYXOA=; b=FSkZOn30lA6flqM+eI6SnhBqoS+hfsmOkkft8+lzU2s6n6ukDCP9ZpBD+SsXf0zQgT O2fLpsZhwxevIP/n/Bl8irfZsODUG4wpAtXI4I6oop/wLYAPhcLrBzVo3WA+oEub481A vJV6x7mLGTTayLKTvBKnOPtvdnt0RMYGekYp1ui8JWZwdIZHmNotd45uddIFKH+dfBjd Eheg2EYHCPbVU6pB/vttbjsjou4PejdANFXUs4BnWA1zb3jLxQ6mhs2LEOBIKeNyskay kEZCuAWW0Vtre0f/RM1uGhYukjvjKcQh/JPUQIp+2c1Wurul+v7xB//PTmndi1bKpzZ4 mr4A== 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=hyi7nBhLd1Oohaxnyh+8o2bIJr8o+eyIOipVb6tYXOA=; b=mxAgdtAGk04t/eJGpaBKT3kA/6g87DSkn1YLleEjgZt+pcFMisWqRHvGEHg09koEaX SjIsMa1Qfe+c6lCqKziGvFoLZh9eGs88Q0TAFBmidB/u4R9NdnGTl7zVzLlXjCs4dGj1 9YVm+WOUR4YDghQIBDLbXOfTIfUz4BdtJ3xzmjZXBGwHCcaZyjfXJmtgbnu8Wcr5rdZO KumcqfJF+CBd27pVPy9lT0rXOiNXJqsaLBlFCPXkoVUwKzg4nctVRkiVREfb0r6pUXR2 qKBNLKb7NuLVC7cWoIhghPGXr3gYw+TO+7XoZNquh+7Wx46pQUWncuW3HXbvq35rDciM GAlA== X-Gm-Message-State: AOAM5326j2rRkvHY9CtfZHinv6jaJ37k5IFQRVbDSBN25U02lFYRYZLN Xf7RLeg7BQ3bUj4IGNcb2xOQ3H2szxyQ3yTO/M4= X-Google-Smtp-Source: ABdhPJxjeNmaaSpKGZhblQRYh2PC0Pb7kGauCm3NkYga/3hWEPdW6IWICqtrS4ZBZIO7VDphd/gp0kZMN74vdat2l2I= X-Received: by 2002:a67:1942:: with SMTP id 63mr340018vsz.125.1596590221272; Tue, 04 Aug 2020 18:17:01 -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: Mithun Bhattacharya Date: Tue, 4 Aug 2020 20:16:49 -0500 Message-ID: To: jbiskofski 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="===============1318360571==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1318360571== Content-Type: multipart/alternative; boundary="000000000000fdaa5905ac1720fa"
--000000000000fdaa5905ac1720fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mojo is good but it is specifically for fast non blocking services. If you are trying to pull up old monolithic applications into the service based world it might take significant rewrite or you use apache/mod_perl :)
On Tue, Aug 4, 2020 at 8:05 PM jbiskofski wrote:
> 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 an= d >>> scalability is important. The complexity is a known problem but it is n= ot a >>> mystery 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 wel= l-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, = by running a >>> high-performing pre-forking Perl web application server and a web serve= r >>> 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 an= d >>> the Perl app focuses on responding to the, now-sanitised, fully normali= zed, >>> 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 >>> >>>
--000000000000fdaa5905ac1720fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mojo is good but it is specifically for fast non blocking = services. If you are trying to pull up old monolithic applications into the= service based world it might take significant rewrite or you use apache/mo= d_perl :)
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s= olid rgb(204,204,204);padding-left:1ex">Mod Perl is awesom= e. That said, the cool kids today are all about Plack.
G= oogle: Dancer, Mojolicious, Catalyst. These allow you to plugin to all part= s of the HTTP protocol, but obviously=C2=A0not to modify apache configurati= on.=C2=A0 Excelent, stable, FAST, production ready HTTP server:= =C2=A0Starman Even faster, but not as proven: Twiggy.
iv>
The most common setup would be with an Nginx process in f= ront.
I had a hard time accepting this was a good = configuration because for 20 years I had thought of webservers=C2=A0as big = giant compiled systems (apache), but apparently=C2=A0you can now create som= ething just as fast in Perl.
<= div class=3D"gmail_quote"> class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex">The question is mov= e off to what ? I don't see alternatives being shared which blows an ap= ache+mod_perl setup out of the water.
<= div dir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 4, 2020 at 7:56 PM Ruben S= afir < ruben-at-mrbr= klyn.com> wrote: "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex">On Tue, Aug 04, 2020 at 09:48:48PM +0100, Mark Blackman 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
--000000000000fdaa5905ac1720fa--
--===============1318360571== 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
--===============1318360571==--
--===============1318360571== Content-Type: multipart/alternative; boundary="000000000000fdaa5905ac1720fa"
--000000000000fdaa5905ac1720fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mojo is good but it is specifically for fast non blocking services. If you are trying to pull up old monolithic applications into the service based world it might take significant rewrite or you use apache/mod_perl :)
On Tue, Aug 4, 2020 at 8:05 PM jbiskofski wrote:
> 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 an= d >>> scalability is important. The complexity is a known problem but it is n= ot a >>> mystery 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 wel= l-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, = by running a >>> high-performing pre-forking Perl web application server and a web serve= r >>> 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 an= d >>> the Perl app focuses on responding to the, now-sanitised, fully normali= zed, >>> 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 >>> >>>
--000000000000fdaa5905ac1720fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mojo is good but it is specifically for fast non blocking = services. If you are trying to pull up old monolithic applications into the= service based world it might take significant rewrite or you use apache/mo= d_perl :)
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s= olid rgb(204,204,204);padding-left:1ex">Mod Perl is awesom= e. That said, the cool kids today are all about Plack.
G= oogle: Dancer, Mojolicious, Catalyst. These allow you to plugin to all part= s of the HTTP protocol, but obviously=C2=A0not to modify apache configurati= on.=C2=A0 Excelent, stable, FAST, production ready HTTP server:= =C2=A0Starman Even faster, but not as proven: Twiggy.
iv>
The most common setup would be with an Nginx process in f= ront.
I had a hard time accepting this was a good = configuration because for 20 years I had thought of webservers=C2=A0as big = giant compiled systems (apache), but apparently=C2=A0you can now create som= ething just as fast in Perl.
<= div class=3D"gmail_quote"> class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex">The question is mov= e off to what ? I don't see alternatives being shared which blows an ap= ache+mod_perl setup out of the water.
<= div dir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 4, 2020 at 7:56 PM Ruben S= afir < ruben-at-mrbr= klyn.com> wrote: "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex">On Tue, Aug 04, 2020 at 09:48:48PM +0100, Mark Blackman 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
--000000000000fdaa5905ac1720fa--
--===============1318360571== 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
--===============1318360571==--
|
|