George,

I'm just going by experience here: I've written various web stuff at various
times, and found CGI versions to be slow on turnaround time - individual
requests complete quickly but the overheads mount up quickly as the number
of requests grow until it becomes noticeable.

Of course, I'm quite open to accept that this was down to the way I did it,
and that others may have come up with better CGI based solutions. At the
time I was using Apache under Linux to run shell scripts (for want of a
better option) to write requests; these being picked up and processed by one
or more waiting phantoms. Cheap, cheerful, reliable but slow.

Whether it is down to the web server creating a process for each CGI call,
overhead in the scripts writing the request, overheads on the phantom
selecting for, reading and then processing the request, or time to return
the data I didn't get down to investigating. I suspect it is more likely the
accumulated effect of small delays at each stage. 

By that time I had moved on to faster solutions: generally anything running
in-process of the web server and making a more direct (if pooled) connection
to the database. In practice that has meant either using RedBack, small
scale UniObjects pooling through ActiveX DLLs or creating ISAPI DLLs.

Brian
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: 23 February 2005 16:09
> To: [email protected]
> Subject: RE: [U2] U2 to web software
> 
> Brian,
> 
> >At the cludgy end you could use CGI to write a script (select your 
> >language
> >here) to write request information to a directory, have a 
> phantom scan 
> >it and write the response back, and then have the CGI script 
> send that 
> >back to the web server. Very simple, but pretty slow and limited in 
> >practice.
> >
> 
> The above method is what I use at present. (it works and 
> management doe$n't to change method$). Cludgy is a good word.
> 
> What I don't understand and maybe someone can explain. Why is 
> this method slow as compared to Redback? Not saying Redback 
> isn't faster...Just curious why? Is it that much faster?
> 
> and what limits do you feel it has in practice (the cgi 
> method that is).
> 
> George
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to