Welcome Visitor, Please Login or Register Now Saturday, December 21, 2024 05:14 PM 
Forums Index > Mewsoft > FAQ > What is FastCGI Module
New Topic   New Reply
Search for:
Author Message
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 12-21-24 05:14 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
What is FastCGI Module Edit Delete Reply with quote Quote
First Post Posted on: 07-31-16 08:10 PM last post first post

What Is The FastCGI Module

The Fast Common Gateway Interface (FastCGI) is an enhancement to the existing CGI (Common Gateway Interface).
This feature allows the software to run as a server. The goal of Fast CGI feature is to load the program once, and iterate
in a loop for every request. Instead of creating a new process for each request, FastCGI feature uses persistent processes
to handle a series of requests. Each individual FastCGI process can handle many requests over its lifetime, thereby avoiding
the overhead of per-request process creation and termination. To use this feature, your server must have FastCGI modules
installed. For Apache servers, this is done by installing apache module mod_fcgid and Perl Module FCGI.

This feature makes the software faster by a factor of 5 to 15 times depending on each page actions.

How The FastCGI Works Exactlly

When a user requests a page for the first time, say the home page or any other page of the software, the server creates

a process and runs the software normal at the normal speed then sends the response to the user browser. After that,
the server does not exit the process or finishes the program, it keeps the program running as a process in the background.

Now when a user requests any page again or the same page, the server does not need to create a process and reload
the program again, it has the program already running in a process and waiting for a request to serve, the server just
send the request to the process running in memory and serves the request on the fly. This process is repeated for all
subsequent requests.

If the server does not receive requests for pre set time period, it ends the process in memory to save resources,
these are server settings.

To check if your server has FCGI modules installed click here or email us your FTP information and we will test it for you.


FastCGI Check Scripts

FastCGI Enabled The Fast Common Gateway Interface (FastCGI) is an enhancement to the existing CGI (Common Gateway Interface). This feature allows the software to run as a server. The goal of Fast CGI feature is to load the program once, and iterate in a loop for every request. Instead of creating a new process for each request, FastCGI feature uses persistent processes to handle a series of requests. Each individual FastCGI process can handle many requests over its lifetime, thereby avoiding the overhead of per-request process creation and termination. To use this feature, your server must have FastCGI modules installed. For Apache servers, this is done by installing apache module mod_fcgid and Perl Module FCGI. This feature makes the software faster by a factor of 5 to 15 times depending on each page actions.

How The FastCGI Works Exactlly
When a user requests a page for the first time, say the home page or any other page of the software, the server creates a process and runs the software normal at the normal speed then sends the response to the user browser. After that, the server does not exit the process or finishes the program, it keeps the program running as a process in the background.


Now when a user requests any page again or the same page, the server does not need to create a process and reload the program again, it has the program already running in a process and waiting for a request to serve, the server just send the request to the process running in memory and serves the request on the fly. This process is repeated for all subsequent requests.

If the server does not receive requests for pre set time period, it ends the process in memory to save resources, these are server settings.

To check if your server has FCGI modules installed click here or email us your FTP information and we will test it for you.

Mewsoft Support
www.mewsoft.com

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print