MESSAGE
DATE | 2020-12-20 |
FROM | John Dunlap
|
SUBJECT | Re: [Hangout - NYLXS] suggestions for perl as web development
|
From hangout-bounces-at-nylxs.com Sun Dec 20 16:56:36 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 4C510164003; Sun, 20 Dec 2020 16:56:36 -0500 (EST) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 1B033163FD2; Sun, 20 Dec 2020 16:55:59 -0500 (EST) Resent-From: Ruben Safir Resent-Date: Sun, 20 Dec 2020 16:55:58 -0500 Resent-Message-ID: <20201220215558.GF30217-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 mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mrbrklyn.com (Postfix) with ESMTP id E81D8163FC0 for ; Sun, 20 Dec 2020 12:53:19 -0500 (EST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 2B7AF44DF0 for ; Sun, 20 Dec 2020 17:53:19 +0000 (UTC) Received: (qmail 19750 invoked by uid 500); 20 Dec 2020 17:53:18 -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 19737 invoked by uid 99); 20 Dec 2020 17:53:18 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2020 17:53:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id AE60A1FF3A1 for ; Sun, 20 Dec 2020 17:53:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, SPF_NONE=0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=lariat-co.20150623.gappssmtp.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id 2wAuMyNRoi-R for ; Sun, 20 Dec 2020 17:53:16 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::131; helo=mail-lf1-x131.google.com; envelope-from=john-at-lariat.co; receiver= Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id B2BE27FBA7 for ; Sun, 20 Dec 2020 17:53:16 +0000 (UTC) Received: by mail-lf1-x131.google.com with SMTP id m12so18276388lfo.7 for ; Sun, 20 Dec 2020 09:53:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lariat-co.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wKrWnOK3eKma6JqpQFzMOD5Jd2WCIoiGbJBUSZvv06M=; b=VHUIVMl3J4+iSrRloCIvHhI5h8Izj+6sB3sxuZW6tFD3UeuYdKJCXxiuqw4fTfOwgm SdJKEnDwc03govck93YLmumydQf4iEkann7ar81lgL6wCrGDYZ1W6rmo+7T1VCZEMlHY lzbLA0HXYWvEbpswm0zOTPrJpud1YgBVbt5YlehrgYpp9K94NleY92J3YkUTbPSK6M5l R5VGAn74DUglgQTZoSBz2r4Rxg3SrMCfmLLqkuQ1I8qLjRaMqOEOQEa3MZKlMUZzIPSq hoY0Le7vFX7wzCQjZERw+ewtFNn0sonv+HnFYFWyj5GadXByZVnjdfKtuvTAZoqjgEZw yOUw== 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=wKrWnOK3eKma6JqpQFzMOD5Jd2WCIoiGbJBUSZvv06M=; b=XybKW8ynlH+9En4haKvXK3QqrLMkJ+tnwEbmFt3s2kAgslE6PKn69Iy6Wh4QAKU9O0 7flkLGoA+u92XobD9vexX4aKOjqb+QJVGbKC8Kc78mEJy1WuKwVcut21/Oe6jyJA+WFq jXyA8fGqiaqVK82m7ZgIEoLCiHmbLzDk/t9L7vruvJb82K+cc9bFzMj3Fi3FrWsnjR8S Ks/xo89LNe5oAzZ9dxyp9CSCGrdo7fAVJVaO7VNMMnaAwEJrrNHv55Zy2vi0cx8gcIH5 Ir2oa1eCS2BvmOPpvpuWaI95PkrWpOkjh4CBUNRv/f9Y+1mBXkR1nJoq952D6uWoRSBf Xemw== X-Gm-Message-State: AOAM533PC4EuOM3Pd1SpuPh1Wwm1NL5RgW8or/qPJV7FLoiqf/gffwpj dRcSEYcyMTf1tfrDJ+JGHn930WsDJIkzr0eQbLwEfw== X-Google-Smtp-Source: ABdhPJz3f69qfe6JyX0pDbIEfYMHisEWhyEG8OdziprWs0NR+xrhe1cafHc8Svr1esDfSMWrAjajbAe9ER6T3177lq4= X-Received: by 2002:a05:6512:3611:: with SMTP id f17mr2877418lfs.158.1608486795937; Sun, 20 Dec 2020 09:53:15 -0800 (PST) MIME-Version: 1.0 References: <27779c3e56564c73a7fa49b49cc3f9f0-at-sanger.ac.uk> In-Reply-To: <27779c3e56564c73a7fa49b49cc3f9f0-at-sanger.ac.uk> From: John Dunlap Date: Sun, 20 Dec 2020 12:53:03 -0500 Message-ID: To: James Smith Cc: Wesley Peng , mod_perl list 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: , Content-Type: multipart/mixed; boundary="===============1473266030==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1473266030== Content-Type: multipart/alternative; boundary="000000000000191ac505b6e90481"
--000000000000191ac505b6e90481 Content-Type: text/plain; charset="UTF-8"
In my opinion, no one should build new projects in Perl. The world is increasingly trending towards parallelism and higher numbers of cpu cores and Perl is poorly positioned to leverage these advancements. Many of Perl's dependencies are not thread safe and mod_perl forces you to use mpm_prefork. My organization has started moving away from Perl to Elixir for these reasons.
On Tue, Aug 4, 2020, 3:37 AM James Smith wrote:
> Perl is a great solution for web development. > > Others will disagree but the best way I still believe is using mod_perl - > but only if you use it's full power - and you probably need a special sort > of mind set to use - but that can be said for any language. > > From experience - it may be fractionally slower than small "standalone" > apps that dancer etc are good at, but it is (a) much, much more stable > {dancer etc does not cope well with either large requests or lots of small > requests}, and (b) if you have a large code base and/or a large number of > services then it generally uses much less compute power than the others > {can easily handle multiple services on a single apache instance} > > Where it really gains is the hooks into the apache process - being able to > add functionality easily at any stage in the request process, from path > translation, AAA stages, pre-processing, to post-processing and logging, > and also to interact with other languages at any stage - e.g. can handle > pre-processing & post-processing around a script written in another > language (e.g. PHP, Java) or produced by another webserver integrated by > mod_proxy. > > It isn't really a framework though like dancer or mojolicious and thus has > its own advantages and disadvantages. > > You would to some extent have to roll your own code to produce the pages > themselves although there are libraries out there to do lots of it. > > We have an in house library whose embryonic stages were written over 20 > years ago - and has now been stable for around 12-13 years and works > strong... > > James > > -----Original Message----- > From: Wesley Peng > Sent: 04 August 2020 06:43 > To: modperl-at-perl.apache.org > Subject: suggestions for perl as web development language [EXT] > > greetings, > > My team use all of perl, ruby, python for scripting stuff. > perl is stronger for system admin tasks, and data analysis etc. > But for web development, it seems to be not as popular as others. > It has less selective frameworks, and even we can't get the right people > to do the webdev job with perl. > Do you think in today we will give up perl/modperl as web development > language, and choose the alternatives instead? > > Thanks & Regards > > > > > -- > The Wellcome Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a > company registered in England with number 2742969, whose registered > office is 215 Euston Road, London, NW1 2BE.
--000000000000191ac505b6e90481 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In my opinion, no one should build new projects in Perl. = The world is increasingly trending towards parallelism and higher numbers o= f cpu cores and Perl is poorly positioned to leverage these advancements. M= any of Perl's dependencies are not thread safe and mod_perl forces you = to use mpm_prefork. My organization has started moving away from Perl to El= ixir for these reasons.
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex">Perl is a great solution for web development.
Others will disagree but the best way I still believe is using mod_perl - b= ut only if you use it's full power - and you probably need a special so= rt of mind set to use - but that can be said for any language.
>From experience - it may be fractionally slower than small "standalone= " apps that dancer etc are good at, but it is (a) much, much more stab= le {dancer etc does not cope well with either large requests or lots of sma= ll requests}, and (b) if you have a large code base and/or a large number o= f services then it generally uses much less compute power than the others {= can easily handle multiple services on a single apache instance}
Where it really gains is the hooks into the apache process - being able to = add functionality easily at any stage in the request process, from path tra= nslation, AAA stages, pre-processing, to post-processing and logging, and a= lso to interact with other languages at any stage - e.g. can handle pre-pro= cessing & post-processing around a script written in another language (= e.g. PHP, Java) or produced by another webserver integrated by mod_proxy.r>
It isn't really a framework though like dancer or mojolicious and thus = has its own advantages and disadvantages.
You would to some extent have to roll your own code to produce the pages th= emselves although there are libraries out there to do lots of it.
We have an in house library whose embryonic stages were written over 20 yea= rs ago - and has now been stable for around 12-13 years and works strong...=
James
-----Original Message-----
From: Wesley Peng <el=3D"noreferrer">me-at-yonghua.org>
Sent: 04 August 2020 06:43
To: eferrer">modperl-at-perl.apache.org
Subject: suggestions for perl as web development language [EXT]
greetings,
My team use all of perl, ruby, python for scripting stuff.
perl is stronger for system admin tasks, and data analysis etc.
But for web development, it seems to be not as popular as others.
It has less selective frameworks, and even we can't get the right peopl= e to do the webdev job with perl.
Do you think in today we will give up perl/modperl as web development langu= age, and choose the alternatives instead?
Thanks & Regards
--
=C2=A0The Wellcome Sanger Institute is operated by Genome Research
=C2=A0Limited, a charity registered in England with number 1021457 and a r> =C2=A0company registered in England with number 2742969, whose registered <= br> =C2=A0office is 215 Euston Road, London, NW1 2BE.
--000000000000191ac505b6e90481--
--===============1473266030== 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
--===============1473266030==--
--===============1473266030== Content-Type: multipart/alternative; boundary="000000000000191ac505b6e90481"
--000000000000191ac505b6e90481 Content-Type: text/plain; charset="UTF-8"
In my opinion, no one should build new projects in Perl. The world is increasingly trending towards parallelism and higher numbers of cpu cores and Perl is poorly positioned to leverage these advancements. Many of Perl's dependencies are not thread safe and mod_perl forces you to use mpm_prefork. My organization has started moving away from Perl to Elixir for these reasons.
On Tue, Aug 4, 2020, 3:37 AM James Smith wrote:
> Perl is a great solution for web development. > > Others will disagree but the best way I still believe is using mod_perl - > but only if you use it's full power - and you probably need a special sort > of mind set to use - but that can be said for any language. > > From experience - it may be fractionally slower than small "standalone" > apps that dancer etc are good at, but it is (a) much, much more stable > {dancer etc does not cope well with either large requests or lots of small > requests}, and (b) if you have a large code base and/or a large number of > services then it generally uses much less compute power than the others > {can easily handle multiple services on a single apache instance} > > Where it really gains is the hooks into the apache process - being able to > add functionality easily at any stage in the request process, from path > translation, AAA stages, pre-processing, to post-processing and logging, > and also to interact with other languages at any stage - e.g. can handle > pre-processing & post-processing around a script written in another > language (e.g. PHP, Java) or produced by another webserver integrated by > mod_proxy. > > It isn't really a framework though like dancer or mojolicious and thus has > its own advantages and disadvantages. > > You would to some extent have to roll your own code to produce the pages > themselves although there are libraries out there to do lots of it. > > We have an in house library whose embryonic stages were written over 20 > years ago - and has now been stable for around 12-13 years and works > strong... > > James > > -----Original Message----- > From: Wesley Peng > Sent: 04 August 2020 06:43 > To: modperl-at-perl.apache.org > Subject: suggestions for perl as web development language [EXT] > > greetings, > > My team use all of perl, ruby, python for scripting stuff. > perl is stronger for system admin tasks, and data analysis etc. > But for web development, it seems to be not as popular as others. > It has less selective frameworks, and even we can't get the right people > to do the webdev job with perl. > Do you think in today we will give up perl/modperl as web development > language, and choose the alternatives instead? > > Thanks & Regards > > > > > -- > The Wellcome Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a > company registered in England with number 2742969, whose registered > office is 215 Euston Road, London, NW1 2BE.
--000000000000191ac505b6e90481 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In my opinion, no one should build new projects in Perl. = The world is increasingly trending towards parallelism and higher numbers o= f cpu cores and Perl is poorly positioned to leverage these advancements. M= any of Perl's dependencies are not thread safe and mod_perl forces you = to use mpm_prefork. My organization has started moving away from Perl to El= ixir for these reasons.
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex">Perl is a great solution for web development.
Others will disagree but the best way I still believe is using mod_perl - b= ut only if you use it's full power - and you probably need a special so= rt of mind set to use - but that can be said for any language.
>From experience - it may be fractionally slower than small "standalone= " apps that dancer etc are good at, but it is (a) much, much more stab= le {dancer etc does not cope well with either large requests or lots of sma= ll requests}, and (b) if you have a large code base and/or a large number o= f services then it generally uses much less compute power than the others {= can easily handle multiple services on a single apache instance}
Where it really gains is the hooks into the apache process - being able to = add functionality easily at any stage in the request process, from path tra= nslation, AAA stages, pre-processing, to post-processing and logging, and a= lso to interact with other languages at any stage - e.g. can handle pre-pro= cessing & post-processing around a script written in another language (= e.g. PHP, Java) or produced by another webserver integrated by mod_proxy.r>
It isn't really a framework though like dancer or mojolicious and thus = has its own advantages and disadvantages.
You would to some extent have to roll your own code to produce the pages th= emselves although there are libraries out there to do lots of it.
We have an in house library whose embryonic stages were written over 20 yea= rs ago - and has now been stable for around 12-13 years and works strong...=
James
-----Original Message-----
From: Wesley Peng <el=3D"noreferrer">me-at-yonghua.org>
Sent: 04 August 2020 06:43
To: eferrer">modperl-at-perl.apache.org
Subject: suggestions for perl as web development language [EXT]
greetings,
My team use all of perl, ruby, python for scripting stuff.
perl is stronger for system admin tasks, and data analysis etc.
But for web development, it seems to be not as popular as others.
It has less selective frameworks, and even we can't get the right peopl= e to do the webdev job with perl.
Do you think in today we will give up perl/modperl as web development langu= age, and choose the alternatives instead?
Thanks & Regards
--
=C2=A0The Wellcome Sanger Institute is operated by Genome Research
=C2=A0Limited, a charity registered in England with number 1021457 and a r> =C2=A0company registered in England with number 2742969, whose registered <= br> =C2=A0office is 215 Euston Road, London, NW1 2BE.
--000000000000191ac505b6e90481--
--===============1473266030== 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
--===============1473266030==--
|
|