|FAQ : Frequently Asked Questions|
How can I predict the performance of my CGIs?
A: This matter is discussed in manual
SC41-0607-02 AS/400 Performance Capabilities Reference - Version 4, Release 4
You should read Chapter 6, Web serving performance
(click to display this manual in PDF format).
(click to display this chapter in HTML format).
In this chapter they report a benchmark done on a simple non-persistent CGI, rather different from the ones one could develop with our CGI service program method.
I myself ran some measurements on simple CGIs using our method (Mel Rothman's CGI service program Version 2).
For measurement no. 1 I used CGI perf02 in library centaur2.
For measurement no. 2 I used CGI perf01 in library centaur2.
The following table summarizes the results.
The difference in the transaction rates depends on the CGI's, see the following table.
In both cases my CGI's load their skeleton HTML scripts from source file members. In the second case, a small database file is also opened, and two html sections are isssued for each record read, then this database file is closed.
The second case performs worse because of more database accesses.