Paul Kraus wrote:

> Is one more efficient then the other.
>
> My hesitation with perl (I would like to use is as I already know the
> language) is that coming from a windows environment perl scripts do not
> like to run quickly and having a web server getting hammered and a
> 10,000 processing having to kick off seems to me it have really slow
> down the server. Is php faster then perl (when called from apache or
> IIS) ?

Hi Paul,

I wonder whether the issue might really be your choice of web-server platform.  I also 
prefer Windows as a workstation OS.  I certainly wish that I had an NT server 
availbale for user profiles.  Still, I would not make Windows my choice as a file 
server, and I think it is even less suited to the public Internet.  It has too many 
"features" to ever ensure security, and the design priority will always be on adding 
more features.

For a web-server, you are better off with something lean and mean.  Since UIs in 'nix 
are loadable shells, rather than integral to the operating kernel, you can run only 
the functionality needed for your purpose.  You might want to consider whether the 
single-platform approach really serves your needs.  Fro my own part, I would choose:
Windows/Mac as workstation systems
NT Server for managing users workstation profiles and preferences.  [I think it now 
has features to interoperate with AppleTalk.  Just today, I made my first connection 
with a LaserWriter from Win2K.]
Netware, or possibly Samba-'nix, as file server.
Linux as web and firewall server

I would invite you to do some side by side comparisons between any CGI program running 
in Perl on 'nix, and equivalent functionality i mmplemented through ASP.  I know my 
anecdotal evidence indicates very strongly that Perl/Linux will run circles around 
ASP/Windows.

Also, if your procedures involve large data stores, you might want to look closely at 
your storage paradigm.  Does your storage system support high speed access through 
hashing, indexed storage or stable B-Tree trype structures?  Factors like this affect 
speed regardless of language, and almost all general-purpose languages can be used to 
implement any of these techniques.

It might be interesting if you could pick out one or two things that seem to run more 
slowly than they should, and see if there are ways to use Perl's strengths to speed 
them up.  If you do this, though, please first read through the code from the 
perspective of someone not already immersed in the context, and add enough textual 
explanation so that we can get oriented.

Joseph



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to