AJAX and FPCGI

Fairlight fairlite at fairlite.com
Mon Mar 30 19:42:55 PDT 2009


Is it just me, or did Ken Cole say:
> >
> > But where does sockets even come into it?  I can't believe you rewrote an
> > httpd inside fP, much less with SSL...  Did you?!
> >
> 
> Nope.
> 
> Having a small sockets server running under fp and listening for calls from
> a Perl cgi-script that is run as part of the xml-httpd-request function is
> very very fast, especially when doing things like auto completing text
> inputs etc.

Let me see if I understand your topography:

Browser <-> Apache <-> Perl CGI <-> fP Sockets

So you keep a persistent fP Sockets instance up, and talk to that from the
perl CGI, rather than instantiating a new fP each time?  Am I following
you, or off-base?

> And when this is only run internally ona  fully protected network, who needd
> SSL?

The paranoid.  :)  Fair enough.

mark->
-- 
"I'm not subtle. I'm not pretty, and I'll piss off a lot of people along
the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade"


More information about the Filepro-list mailing list