Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Flash, CGI and e-commerce
From: P. Scot McIntosh
Date: Thu, 1 Jul 1999 05:31:59 +0100

> >> If you expect any sort of load on the site, I would not recommend
> >> using CGI scripting, even if it were possible to author the site that
> >> way.
> >
> > I would imagine it is possible. CGI scripts are capable of basically
> > anything any other server-side web-based mechanism is.

You're right. I phrased it the way I did because the original questioner
referred to authoring 'several thousand' pages, and for the purposes of my
answer I took him at his word as to his requirements. One *could* build
pyramids with only human labor these days, but it would so impractical that
it may as well be impossible. I know that debugging a whole bunch of CGI
scripts would make *me* want to throw myself under a bus :-).

> >> Unix has to fork off a separate process each time the script is
> >> invoked, and that takes quite a toll in performance.
> >
> > Just as a technical nit, *any* OS needs to create a separate process
> > for each instance of a CGI script. Unix (in general) has a relatively
> > low process creation overhead, and a decent-sized Linux box can handle
> > serving some 50 CGI hits a second so I wouldn't rule it out offhand,
> > but, yes, CGI does incur some overhead and if performance is a real
> > issue, this could become a problem.

You're right again. I referred to Unix because the questioner made specific
mention of it as his required OS.

> > If I were to make a reccomendation I'd suggest starting with perl CGI
> > scripts, and moving to mod_perl if it was necessary.
> >
> > -Eric


Eric probably has more experience than I do with these matters, so take this
for what it's worth (about one millicentime). If I were going to be starting
up an ecommmerce site from scratch, I'd probably choose not to do it with
CGI scripting, even if the anticipated load looked ok. If future traffic
caused performance to suffer, you could well be stuck with having to redo
everything in some other technology Active Server Pages or Cold Fusion, so
why not start there to begin with? I've also not seen any authoring tools
for CGI scripts that come close to what's available for ASP and CF (there
again, Eric may have the better of me).

Of course, why code from scratch at all? Before I did, I'd first look for a
prefab ecommerce package that could at least form a starting point. Some
ecommerce functions are going to be common across virtually any site.

OK, I've done enough to get the list off-topic, so this will be my last
contribution on this subject.



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: Flash, CGI and e-commerce, Laura Mollett

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]