John Sequeira

Amped::Technology
John Sequeira's weblog: enterprise application development, typed weakly.

Monday, May 13, 2002


Q: What's the difference between FastCGI and a reverse proxy?

A: There has been talk of exposing OpenACS functionality via FastCGI, as a way to avoid writing/maintaining separate web server API connections. I was thinking about how this differs from using a reverse proxy. Both approaches are used to expose e.g. Zope functionality via Apache.

FastCGI is good for pooling arbitrary applications behind a web server, especially when they grab expensive resources like database connections. It incorporates pool initialization/pre-spawning and load balancing. In the case of Zope, the web listener isn't the greatest, so there's some benefit to getting it out of the response loop. WRT AOLServer, the multithreaded, multiprocess nature of the server + it's connection pooling gives you many of the benefits of FastCGI just by proxying requests to it. The main benefit to getting a FastCGI version of AOLServer might be that you don't have to maintain the web listener part, and so keeping a Win32 port up to date would theoretically be easier. As an added benefit, you no longer need mod_aolserver and ns_isapi.
3:53:50 PM      comment []  trackback []



Charlie? XML application framework from the Ginger Alliance. It has an X-Internet sound to it, because they mention distributing data/logic, including to small devices
11:18:35 AM      comment []  trackback []

© Copyright 2005 John Sequeira.
 
May 2002
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Apr   Jun

Click to see the XML version of this web page.
Click here to send an email to the editor of this weblog.
Yahoo: johnseq2
MSN: john_seq@hotmail.com
AIM: amped02139
Skype: johnjulian