Why is it more efficient to run scripts using mod_perl than to run them through CGI?

What will be an ideal response?

Running a CGI script requires system calls to fork() and exec() to create a
new process. Once the process has finished (which, in the case of CGI
scripts, is usually very shortly after it has started), it terminates. A script run
from a module does not have this overhead because it runs inside the
Apache server process.

Computer Science & Information Technology

You might also like to view...

By default, tables are sorted by their primary key field

Indicate whether the statement is true or false

Computer Science & Information Technology

A JRadioButton is different from a JCheckBox in that .

a. a JRadioButton is a subclass of JToggleButton, JCheckBox is not. b. normally several JRadioButtons are grouped together and are mutually exclusive. c. a JRadioButton is a type of button, JCheckBox is not. d. a JRadioButton is a state button, JCheckBox is not.

Computer Science & Information Technology