Gossamer Forum
Quote Reply
SpeedyCGI
Hi,

The latest version supports SpeedyCGI. I'd be really interested in anyones feedback. For information on SpeedyCGI visit:

http://daemoninc.com/speedycgi/

If you are on a dedicated server, it is very easy to install. Just do:

perl Makefile.PL
make
make test
make install

Then, to try it out with Links SQL, during setup, set the path to perl to "/usr/bin/speedy" and "persistent env" to yes. It's quite a bit simpler the mod_perl, but offers a considerable performance boost.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: SpeedyCGI In reply to
My host wouldnt installe speedcgi for me :(

...said its not viable on my shared server...

When I try to subscribe the the BETA5 newsletter I get:

INSIDE!! '' Content-type: text/html

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: SpeedyCGI In reply to
Sorry to scare you Alex,

Ignore that comment about the newsletter subscription error...its fixed now and wasnt a BETA5 bug..

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: SpeedyCGI In reply to
Installed Speedy CGI via the two Redhat 6.2 RPMS and restarted my http server without incident. It took about 1 minute from downloading the RPMS to the restart....

I did my NG install.... using /usr/bin/speedy and persistant connections...

Everything went smoothly... and it even works!

Should I see an all around performance boost with NG/SpeedyCGI or just with certain parts?

Alex

Quote Reply
Re: SpeedyCGI In reply to
Hi,

You should see an all around performance boost using SpeedyCGI then using regular CGI.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: SpeedyCGI In reply to
Does using persistent connections not wear out the server?

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: SpeedyCGI In reply to
What is better to use: mod_perl or speedyCGI?

P a i n t b a l l C i t y . c o m
http://www.paintballcity.com
Quote Reply
Re: SpeedyCGI In reply to
Mod_perl if you can install it will undoubtedly give the best boost.

speedycgi can be installed as an "external" process to apache. On my system, it's taking up about 10 meg. It can also be compiled in as an apache module. I'm not sure what the benefits are, but it's probably a bit more responsive.

The external method doesn't affect the server ...

This is all new to me, but I got it running via CPAN first shot.

Just you have to re-install the scripts. changing the path to perl in the settings area doesn't do it.

PUGDOG«
PUGDOG« Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Quote Reply
Re: SpeedyCGI In reply to
Hi Alex!
E as to make to use fastCGI?

I can use the three together ones in the LinksSQL?

It explains me as to make to use the three.

-=-=-=-=-=-=-=-=-
Janio Le
-=-=-=-=-=-=-=-=
Quote Reply
Re: SpeedyCGI In reply to
Hi,

If you don't have a dedicated server, SpeedyCGI is really your only choice, as it can be used without any changes to Apache.

If you have your own server, then mod_perl would be a better way to go with Links SQL. However, it is significantly more complex to install then SpeedyCGI.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: SpeedyCGI In reply to
Hi,

No, you don't want to use the there together, they all do similiar things, so you only want to use one.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: [pugdog] SpeedyCGI In reply to
Do you have to restart httpd?

Also, can you manually change the paths in the scripts instead of re-installing Links SQL?

Many thanks.

------------------------------------------
Quote Reply
Re: [DogTags] SpeedyCGI In reply to
Jan 2001 to Jan 2002.... this is a dead thread :)

Using the external speedyCGI you don't have to restart the httpd. It's called just like perl.

The problems I had with it were hogging resources, and trying to kill it off for a restart for debugging. I tried it for awhile, and in my situation it wasn't the right choice. I had too many virtual servers running to make it effective. In the past few months there have been some improvements, so my experiences probably don't apply directly any more.




PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] SpeedyCGI In reply to
Thanks, pugdog. I'm still struggling a bit with learning the admin/root level of the server I'm working with. So, until I figure out how to get Links working with mod_perl, I thought I'd try out SpeedyCGI. mod_perl is my main target for making the scripts speedier.

Thanks, again, for your help.

------------------------------------------
Quote Reply
Re: [DogTags] SpeedyCGI In reply to
Hi,

Yes, just install SpeedyCGI, and change the path of the script you want to speed up to #!/usr/bin/speedy and that's it!

You can do it for just a few scripts if you like (i.e. search.cgi and page.cgi), or for everything.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SpeedyCGI In reply to
Thanks, Alex!

------------------------------------------