Can you tell us if you're using a CGI library or just the raw/native OS/400
Web/CGI APIs, such as QtmhGetEnv, QtmhRdStin, QtmhWrStout

If you're using a library, it may be the library loading. Some of the add-on
libraries for CGI programming initialize/allocate storage when they are
started. This can take a little while. Others use User Spaces in lieu of
ALLOC/ReALLOC and tend to start up a bit quicker.  But regardless, 60
seconds a long time. 
One of the rules of thumb with CGI programs is to do what you need to do,
and return quickly. Long running processes aren't going to run any quicker
in CGI than in regular old interactive/batch RPG.

-Bob Cozzi
www.RPGxTools.com
RPG xTools - Enjoy programming again.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Ricky Thompson
Sent: Monday, October 31, 2005 10:20 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Slow CGI Performance

I've been doing a little web development on the AS/400 but the first cgi
program that loads is always 30 - 60 secs.  After you get the first page
loaded performance seems pretty good.  What would cause this?  Any other
performance tips would be appreciated as well.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.