From: Eric Hodel Date: 2003-02-19T06:56:13+09:00 Subject: Re: speedycgi/pperl equivalent? --Lb0e7rgc7IsuDeGj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable David Garamond (lists@zara.6.isreserved.com) wrote: > Is there an equivalent of SpeedyCGI or PPerl for Ruby? >=20 > http://daemoninc.com/SpeedyCGI/ (a.k.a. PersistentPerl) > http://search.cpan.org/dist/PPerl/PPerl.pm >=20 > They work by changing the #!/usr/bin/perl line to #!/usr/bin/speedy or=20 > #!/usr/bin/pperl. The replacement version embeds the Perl interpreter.=20 > The first time it's run, it loads the interpreter, compiles the script,= =20 > and daemonizes itself after establishing a Unix socket (or TCP listening= =20 > socket). Then the second time the binary is run it will detect that the= =20 > daemon already exists and then just run the already-compiled script in=20 > the daemon process, communicating through the socket. >=20 > So in effect it is like FastCGI, but without the web/CGI-like protocol=20 > stuff. To use PPerl/SpeedyCGI, just replace the shebang line. Sounds similar to DRb --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Lb0e7rgc7IsuDeGj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Uqv7MypVHHlsnwQRAkFXAKDGPBT1+XkygXqUe/90TisY9BbKlACcCFSg on0nec+AS41uJ+VeW2JKNkI= =j7Lk -----END PGP SIGNATURE----- --Lb0e7rgc7IsuDeGj--