Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 110695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:16:03+00:00 2026-05-11T02:16:03+00:00

The docs at www.fastcgi.com aren’t clear on this (to me), so I hope someone

  • 0

The docs at http://www.fastcgi.com aren’t clear on this (to me), so I hope someone can give me a definitive answer.

I have written a FastCGI application in C++ to do some heavy duty number crunching. When the application first loads (when apache starts), it performs some caching of MySQL data into a vector, which takes about a minute (hence using FastCGI instead of CGI ;-)). Then it waits for a request to kick off the number crunching.

Normally, a user makes the request, the FastCGI app runs no problem, and returns the correct data. However, I am not sure what is happening when there are several requests initiated at about the same time. Does FastCGI queue those requests, and wait for the previous run to finish before responding to the next request? Or does FastCGI handle the requests in parallel? Can this be configured, and do you configure it in your application or in the apache configs? What’s the default?

My application only implements

while(FCGX_Accept( &in, &out, &err, &envp)>=0){} 

and performs the number crunching inside the while loop.

Appreciate any help, cheers bros.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:16:03+00:00Added an answer on May 11, 2026 at 2:16 am

    Looking at my web server, I only have one of each FastCGI process running at any one time, no matter how many Apache instances are running. So I have to assume it’s queuing them up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have reread chapter http://www.rebol.com/docs/core23/rebolcore-15.html on any and parse but can't achieve to parse
I'm seeing on this site: http://www.modernizr.com/docs/ how they have a decimal list item that
So I'm trying to access this api https://www.clarityaccounting.com/api-docs/ using SUDS. Here is the code
I have a question about fiscal date literals in the Force.com API ( http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_select_dateformats.htm
According to http://www.rebol.com/docs/core23/rebolcore-15.html You can use change/part to parse and replace but that doesn't
The current content of this google docs page is: alt text http://www.deviantsart.com/upload/i9k01q.png However, when
On this page of Google help: https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html#submitting Google mentions that there is a way
Where can I find full docs for using http://www.facebook.com/sharer.php ? I want to know
I'm a postgresql user and I'm trying to follow this : http://www.postgresql.org/docs/current/interactive/sql-createtrigger.html CREATE TRIGGER
According to D docs ( http://www.digitalmars.com/d/2.0/attribute.html#ProtectionAttribute ) protected module members are illegal, but compiler

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.