Solved

fastCGI

Posted on 2001-06-11
5
190 Views
Last Modified: 2013-12-25
What is fastCGI? Is it different from CGI? How is it used in the industry?
0
Comment
Question by:heuer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 8

Accepted Solution

by:
bebonham earned 100 total points
ID: 6179395
fastCGI is kind of like turning your script into a unix daemon!!

it's pretty cool.

anyways, you can use it because it's part of the default cgi distribution so try this

#bang
use whatever;
use CGI::Fast;


while(new CGI::Fast)
{
# rest of script as it was before

}


it is not different from CGI, instead, it makes YOUR cgi script listen at a port on unix, when a CGI request comes in it immediately passes those params to that script, WITHOUT the script loading, because it is already loaded.

hope that helps.

Bob
0
 
LVL 8

Expert Comment

by:bebonham
ID: 6179397
I would only use it if I had a slow script .. which I dont :)


but it basicially speeds your script be preloading any modules you use.

the operations themselves are at regular speed.
0
 

Expert Comment

by:addady
ID: 6213987
Allso check mod_perl and speedyCGI.
Is you don't have admin access to the server SpeedyCGI
is the only solotion for you.

0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6699431
Please update and/or finalize this question.  
Moondancer
Community Support Moderator @ Experts Exchange
0
 
LVL 1

Expert Comment

by:Computer101
ID: 6903863
Comment from expert accepted as answer.

Thank you
Computer101
E-E Moderator
0

Featured Post

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question