From owner-freebsd-chat Wed Jul 5 1:50:43 2000 Delivered-To: freebsd-chat@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id ADDBB37B712 for ; Wed, 5 Jul 2000 01:50:28 -0700 (PDT) (envelope-from xtc@norilsk.net) Received: from wp3 ([192.168.0.13] helo=norilsk.net) by osiris.ipform.ru with esmtp (Exim 3.13 #1) id 139ktA-0008nF-00; Wed, 05 Jul 2000 12:50:36 +0400 Message-ID: <3962F72F.6D37DD93@norilsk.net> Date: Wed, 05 Jul 2000 12:51:59 +0400 From: Yury XTC Organization: WDA Norilsk.NET X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "modperl@apache.org" Cc: chat@freebsd.org Subject: mod_perl vs fastcgi Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Instaled : FreeBSD 4.0 + Apache 1.3.12 + mod_perl 1.24 + FastCGI 0.52 1) I installed apache with mod_perl - the speed increased.But I didn't understand HOW mod_perl optimizes use of resources and increases speed ? Does it share perl interpreter, script or anything else? 2) Then I installed FastCGI - but I didn't see the differance. Speed and memory usage remained the same. I test with mysql database (16000 records, 5 fields of different types) - SELECT * FROM TEST WHERE one < $a and one > $b; Next, I open, read and parse 5Mb text file. With LWP::Parallel::UserAgent perl module I send 10 parallel requests. Do mod_perl and FastCGI installed in the same Apache server interact and how do they interact if they do at all? Was Lighte! Yury XTC xtc@norilsk.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message