Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl performance in win32 environ 1

Status
Not open for further replies.

Arion23

IS-IT--Management
Mar 29, 2001
132
AU
Hi all,

Been playing around with Perl quite a bit lately, more and more with CGI scripts in an Win2K/IIS environment.

As some of these scripts are to be expecting heavy use, I figured I'd check out performance (not my area, although I'm hoping to work on that :) ).

Whenever these scripts run, I'm noticing the CPU usage shoots up to 100% while the scripts are running.

1. Is this to be expected?
2. Are there any methods to reduce the load?

Thanks in advance...
 
One of the few problems with perl is that it is done compeletely on the server side of things. This reduces the amount of traffic that your server can handle. A good practice is to write parts in client side script (vbscript, javascript, even perlscript). This eliminates the need for a server to generate a page every time one is requested. What you are doing instead is feeding the browser a standard page and then the client-side script nudges the server for the bits and pieces of the page that it needs to generate. HTH.

Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top