From owner-freebsd-questions Tue Feb 13 20:26:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bcfw1d.bridge.com (bcfw1d.ext.bridge.com [167.76.159.31]) by hub.freebsd.org (Postfix) with ESMTP id D62E537B491 for ; Tue, 13 Feb 2001 20:26:14 -0800 (PST) Received: (from uucp@localhost) by bcfw1d.bridge.com (8.10.2/8.10.2) id f1E4RGo14408; Tue, 13 Feb 2001 22:27:16 -0600 (CST) Received: from unknown(167.76.56.34) by bcfw1d.bridge.com via smap (V5.5) id xma014371; Tue, 13 Feb 01 22:26:57 -0600 Received: from mnmailhost (mnmailhost.bridge.com [167.76.155.14]) by mail1srv.bridge.com (8.8.8/8.7.3) with SMTP id WAA21471; Tue, 13 Feb 2001 22:25:53 -0600 (CST) Received: from HPPAV by mnmailhost (SMI-8.6/SMI-4.1) id XAA02757; Tue, 13 Feb 2001 23:25:49 -0500 To: freebsd-questions@FreeBSD.ORG Subject: Re: apache+mod_perl+eperl , cgi References: <54e050ea.50ea54e0@time.net.my> From: Tim Ayers Date: 13 Feb 2001 22:25:48 -0600 In-Reply-To: "Ariff Abdullah"'s message of "Wed, 14 Feb 2001 08:22:34 +0800" Message-ID: Lines: 33 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "A" == Ariff Abdullah writes: A> Hello. A> Guys , which one do you prefer (in terms of performance AND stability) A> 1) apache+mod_perl, executing cgi internally using the modperl DSO A> 2) apache, executing plain cgi (err.. of course it spawning new A> proccess) A> 3) or perhaps, apache+mod_perl+ePerl A> (security not an issue, since this is just an internal http for private A> net) A> any insight? Apache running CGI's is the slowest. By far! Apache + mod_perl is much faster, but programming good mod_perl apps is quite a different skill set. OTOH, badly written mod_perl apps are still way faster than CGI's. Apache + mod_perl + ePerl will be about the same performance as without ePerl, but development time is typically faster. It's like programming in Motif vs straight X. (Or C vs machine code is maybe a more widely understood analogy. ;-) There are also other embedded Perl solutions besides ePerl: Mason, EmbPerl and Template-Toolkit come to mind. Apache and Apache+mod_perl are very stable. I don't know about ePerl. See http://perl.apache.org/guide/ for a lot more info about mod_perl. Good luck, HTH and Hope you have a very nice day, :-) Tim Ayers (tayers@bridge.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message