Thanks for the education on Ajax also in response to my simple question on QTEMP.

If the Apache server is set to single-thread then I imagine these Ajax requests would be stacked and each would wait for the thread to service it and could possibly time out.

Out of curiousity: For application efficiency why are you making 5 Ajax calls at once ?

I tend to try to simplify any apps I write to minimize the back and forth interaction to the back end. I try not to get data until needed and sometimes cache data app side in a database or local data variables.

I've been writing apps for devices and try to minimize network impact so I guess you could say I'm more passive than aggressive :-)

Regards,

Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com

----------------------------------------------------------------------

message: 1
date: Sat, 4 Mar 2017 11:13:05 +0100
from: Henrik R?tzou <hr@xxxxxxxxxxxx>
subject: Re: [WEB400] Question on QTEMP and CGI Jobs

Kevin

well, it may be understod that they share QTEMP since a call to PGMA from user 1 and thereafter call to PGMB from user 2 running under the same QZSRCGI shares the same QTEMP that belongs to the QZSRCGI and not PGMA or PGMB.

PS - I don't think you uses AJAX as agressivly as I, if you fires 4-5 unnested AJAX calls from the browser at the same time it will result in 4-5 QZSRCGI jobs handling the requests, in other word they aren't queued to the same QZSRCGI job.

Remember that persistence CGI was written way before AJAX where AJAX may run many independend sockets to the server at the same time.


On Sat, Mar 4, 2017 at 10:42 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
wrote:

So the even shorter answer to this question "Would there be any way
for two CGI calls at the same time to overlap the QTEMP libs ?"
is
"No!"

HTH



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.