I understand that the HTTP starts additional CGI server jobs up to a
configured maximum number, depending on outstanding requests. Does your web
page make multiple concurrent requests asynchronously? Our apps do.

Are you measuring milliseconds using your browser's developers tool? They
would be measuring network latency in addition to server processing. 900ms
and 160ms seem more like Java and PHP workloads. What CGI framework are you
using?



On Wed, Feb 16, 2022 at 10:06 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Thanks Nathan,

Wow and I have 2 CGI jobs to worry about, but you have to start somewhere!

StartCGI is spawning the correct amount of jobs at server startup.
When I make my first http request it lasts 900ms, subsequent requests take
160ms.
After the first request, I'm getting a second pool of CGI jobs. That's what
I don't understand. I'm imagining the 900ms is because the server is
starting the 2nd pool of CGI jobs before it processes the request in the
job that was pre-started.



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.