wiki:MapGuideRfc22

Version 4 (modified by ronnielouie, 17 years ago) ( diff )

--

MapGuide RFC 22 - Replace FastCGI

This page contains an change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.

Status

RFC Template Version(1.0)
Submission DateJune 29, 2007
Last ModifiedRonnie Louie Timestamp
AuthorRonnie Louie
RFC Statusdraft
Implementation Statuspending
Proposed Milestone1.3
Assigned PSC guide(s)(when determined)
Voting History(vote date)
+1
+0
-0
-1

Overview

This RFC proposes to replace the FastCGI agent on the web-tier with an ISAPI extension and Apache module for IIS and Apache webservers respectively.

Motivation

FastCGI is a protocol for a high performance alternative to CGI for interfacing internet applications with a web server. Current use of FastCGI has revealed some stability and performance issues relating to this technology (http://trac.osgeo.org/mapguide/ticket/129).

The current FastCGI implementation for Microsoft Internet Information Server (IIS) was released in 2002 and has not been maintained. IIS 7 is supposed to feature built-in FastCGI support, however it currently is in beta and should not be considered for use in a production environment.

The Apache module for FastCGI also has not been maintained as the current implementation was released in 2003. More recently, a binary compatible alternative FastCGI module has been developed by another third party developer to address process management issues, but it's stability and performance is rather unknown.

By replacing the FastCGI agent with an ISAPI extension or an Apache module, the web-tier will be using more proven and stable technologies, as well as reducing the dependency on third party development for addressing stability, performance and other issues.

Proposed Solution

The existing FastCGI agent will be removed and replaced with a new ISAPI extension and Apache module. Much of the request handling that is currently performed by the FastCGI agent will be implemented instead in the new ISAPI extension or Apache module. These modules will interface directly with the web server and will parse the http request parameters for creating a server request to be executed by the MapGuide Server. The response will be returned to the web server which sends the response back to the client. Complete round trip processing of the request is expected to be at least equal to or better than the performance when using FastCGI.

Implications

FastCGI will no longer be used, however existing applications that use .fcgi in the url (i.e. http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library://&TYPE=&DEPTH=-1) can continue to work if the web server is configured to map the .fcgi extension to the new ISAPI module. This re-mapping can be done automatically by the installer.

Installers will need to be modified to install the ISAPI extension for IIS, or the Apache module for Apache web server.

Test Plan

Tests will need to be done to evaluate the performance and stability of the ISAPI and Apache modules against FastCGI.

Funding/Resources

Autodesk

Note: See TracWiki for help on using the wiki.